diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.gitmodules b/.gitmodules old mode 100644 new mode 100755 diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 01573f9..b44a3c1 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ function init() { } function server() { - local f="./server" + local f="./exec-server" GOOS=linux CGO_ENABLED=0 go build -o "$f" -a -installsuffix cgo >&2 echo "$f" } @@ -27,7 +27,7 @@ function gitname() { } function pack() { - tar -czf "$1.tar" "./server" "./public" + tar -czf "$1.tar" "./exec-server" "./public" echo "$1.tar" } diff --git a/main.go b/main.go old mode 100644 new mode 100755 diff --git a/public/index.html b/public/index.html old mode 100644 new mode 100755