diff --git a/scripts/linux/build.sh b/scripts/linux/build.sh new file mode 100644 index 0000000..3fd9c26 --- /dev/null +++ b/scripts/linux/build.sh @@ -0,0 +1 @@ +go build -o app ../../ \ No newline at end of file diff --git a/scripts/linux/build_mac.sh b/scripts/linux/build_mac.sh new file mode 100644 index 0000000..5bf6e4d --- /dev/null +++ b/scripts/linux/build_mac.sh @@ -0,0 +1 @@ +CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o app ../../ \ No newline at end of file diff --git a/scripts/linux/build_win64.sh b/scripts/linux/build_win64.sh new file mode 100644 index 0000000..e4975dc --- /dev/null +++ b/scripts/linux/build_win64.sh @@ -0,0 +1 @@ +CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o app ../../ \ No newline at end of file diff --git a/scripts/mac/build.sh b/scripts/mac/build.sh new file mode 100644 index 0000000..3fd9c26 --- /dev/null +++ b/scripts/mac/build.sh @@ -0,0 +1 @@ +go build -o app ../../ \ No newline at end of file diff --git a/scripts/mac/build_linux.sh b/scripts/mac/build_linux.sh new file mode 100644 index 0000000..f25cc5b --- /dev/null +++ b/scripts/mac/build_linux.sh @@ -0,0 +1 @@ +CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o app ../../ \ No newline at end of file diff --git a/scripts/mac/build_win64.sh b/scripts/mac/build_win64.sh new file mode 100644 index 0000000..e4975dc --- /dev/null +++ b/scripts/mac/build_win64.sh @@ -0,0 +1 @@ +CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o app ../../ \ No newline at end of file diff --git a/scripts/win/build.bat b/scripts/win/build.bat new file mode 100644 index 0000000..4e313b4 --- /dev/null +++ b/scripts/win/build.bat @@ -0,0 +1,2 @@ +@echo off +go build -o app ../../ \ No newline at end of file diff --git a/scripts/win/build_linux.bat b/scripts/win/build_linux.bat new file mode 100644 index 0000000..6d68095 --- /dev/null +++ b/scripts/win/build_linux.bat @@ -0,0 +1,5 @@ +@echo off +SET CGO_ENABLED=0 +SET GOOS=linux +SET GOARCH=amd64 +go build -o app ../../ \ No newline at end of file diff --git a/scripts/win/build_mac.bat b/scripts/win/build_mac.bat new file mode 100644 index 0000000..4404d40 --- /dev/null +++ b/scripts/win/build_mac.bat @@ -0,0 +1,5 @@ +@echo off +SET CGO_ENABLED=0 +SET GOOS=darwin +SET GOARCH=amd64 +go build -o app ../../ \ No newline at end of file