diff --git a/.gitignore b/.gitignore index 6c1b110..8d6f116 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,5 @@ go.work.sum .idea .vscode config.yml +bin diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..54fcf8a --- /dev/null +++ b/build.bat @@ -0,0 +1,14 @@ +SET BINARY_NAME=ela + +go build -o bin/%BINARY_NAME%.exe + +SET CGO_ENABLED=0 +SET GOOS=darwin +SET GOARCH=amd64 +go build -o bin/%BINARY_NAME%.darwin.amd64 + + +SET CGO_ENABLED=0 +SET GOOS=linux +SET GOARCH=amd64 +go build -o bin/%BINARY_NAME%.linux.amd64