mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
balls
This commit is contained in:
parent
34f47b3ba1
commit
9f798ba67f
4 changed files with 6 additions and 3 deletions
11
build_macos.sh
Executable file
11
build_macos.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_macos_amd64
|
||||
|
||||
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 .
|
Loading…
Add table
Add a link
Reference in a new issue