Fix build script

This commit is contained in:
Alex Yatskov 2022-05-08 18:01:00 -07:00
parent 9883eb5a8c
commit fe86afed2e

View File

@ -6,17 +6,17 @@ export GOARCH=amd64
export GOOS=windows export GOOS=windows
go build -o ./build/$GOOS/mdview/ . go build -o ./build/$GOOS/mdview/ .
pushd build/$GOOS pushd build/$GOOS
7za a mdview.zip mdview 7za a mdview.$GOOS.zip mdview
popd popd
export GOOS=linux export GOOS=linux
go build -o ./build/$GOOS/mdview/ . go build -o ./build/$GOOS/mdview/ .
pushd build/$GOOS pushd build/$GOOS
tar czvf mdview.tar.gz mdview tar czvf mdview.$GOOS.tar.gz mdview
popd popd
export GOOS=darwin export GOOS=darwin
go build -o ./build/$GOOS/mdview/ . go build -o ./build/$GOOS/mdview/ .
pushd build/$GOOS pushd build/$GOOS
tar czvf mdview.tar.gz mdview tar czvf mdview.$GOOS.tar.gz mdview
popd popd