This commit is contained in:
evilsocket 2018-02-10 08:35:07 +01:00
commit 9f798ba67f
4 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# nothing to see here, just what i use to cross compile for ARM # nothing to see here, just what i use to cross compile for ARM
DIR=/Users/evilsocket/gocode/src/github.com/evilsocket/bettercap-ng DIR=/Users/evilsocket/gocode/src/github.com/evilsocket/bettercap-ng
EXE=bettercap-ng_arm7 EXE=bettercap-ng_linux_arm7
echo "@ Updating repo ..." echo "@ Updating repo ..."
rm -rf $EXE && git pull rm -rf $EXE && git pull

3
build_linux.sh Executable file
View file

@ -0,0 +1,3 @@
# nothing to see here, quite literally ...
go build -o bettercap-ng_linux_amd64

View file

@ -1,6 +1,6 @@
# nothing to see here, just what i use to build for OS X # nothing to see here, just what i use to build for OS X
DIR=/Users/evilsocket/gocode/src/github.com/evilsocket/bettercap-ng DIR=/Users/evilsocket/gocode/src/github.com/evilsocket/bettercap-ng
AMD64_EXE=bettercap-ng_darwin_x86_64 AMD64_EXE=bettercap-ng_macos_amd64
echo "@ Updating repo ..." echo "@ Updating repo ..."
ssh osxvm "cd $DIR && rm -rf $AMD64_EXE && git pull" ssh osxvm "cd $DIR && rm -rf $AMD64_EXE && git pull"

View file

@ -2,7 +2,7 @@
# #
# -> https://stackoverflow.com/questions/38047858/compile-gopacket-on-windows-64bit # -> https://stackoverflow.com/questions/38047858/compile-gopacket-on-windows-64bit
DIR=c:/Users/evilsocket/gopath/src/github.com/evilsocket/bettercap-ng DIR=c:/Users/evilsocket/gopath/src/github.com/evilsocket/bettercap-ng
AMD64_EXE=bettercap-ng_win32_x86_64.exe AMD64_EXE=bettercap-ng_win32_amd64.exe
I386_EXE=bettercap-ng_win32_i386.exe I386_EXE=bettercap-ng_win32_i386.exe
echo "@ Updating repo ..." echo "@ Updating repo ..."