mirror of
https://github.com/bettercap/bettercap
synced 2025-07-14 09:03:39 -07:00
new: added script to build on a preconfigured osx vm
This commit is contained in:
parent
eee49d4245
commit
d769ccd9cd
2 changed files with 248 additions and 0 deletions
11
build_mac.sh
Executable file
11
build_mac.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
# nothing to see here, just what i use to build for OS X
|
||||||
|
DIR=/Users/evilsocket/gocode/src/github.com/evilsocket/bettercap-ng
|
||||||
|
AMD64_EXE=bettercap-ng_darwin_x86_64
|
||||||
|
|
||||||
|
echo "@ Updating repo ..."
|
||||||
|
ssh osxvm "cd $DIR && rm -rf $AMD64_EXE && git pull"
|
||||||
|
|
||||||
|
echo "@ Building $AMD64_EXE ..."
|
||||||
|
ssh osxvm "export GOPATH=/Users/evilsocket/gocode && cd $DIR && PATH=$PATH:/usr/local/bin && go build -o $AMD64_EXE ."
|
||||||
|
|
||||||
|
scp osxvm:$DIR/$AMD64_EXE .
|
237
net/oui_compiled.go
Normal file
237
net/oui_compiled.go
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue