diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae02570 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +release/ \ No newline at end of file diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..70c3cdd --- /dev/null +++ b/release.sh @@ -0,0 +1,14 @@ +rm -rf release + +mkdir -p release/linux +mkdir -p release/windows +mkdir -p release/mac + +GOOS=linux GOARCH=amd64 go build -o release/linux/unicornify +GOOS=windows GOARCH=amd64 go build -o release/windows/unicornify.exe +GOOS=darwin GOARCH=amd64 go build -o release/mac/unicornify + +zip -j release/unicornify-linux.zip release/linux/* +zip -j release/unicornify-windows.zip release/windows/* +zip -j release/unicornify-mac.zip release/mac/* +