Fix build script
This commit is contained in:
parent
9883eb5a8c
commit
fe86afed2e
6
build.sh
6
build.sh
@ -6,17 +6,17 @@ export GOARCH=amd64
|
||||
export GOOS=windows
|
||||
go build -o ./build/$GOOS/mdview/ .
|
||||
pushd build/$GOOS
|
||||
7za a mdview.zip mdview
|
||||
7za a mdview.$GOOS.zip mdview
|
||||
popd
|
||||
|
||||
export GOOS=linux
|
||||
go build -o ./build/$GOOS/mdview/ .
|
||||
pushd build/$GOOS
|
||||
tar czvf mdview.tar.gz mdview
|
||||
tar czvf mdview.$GOOS.tar.gz mdview
|
||||
popd
|
||||
|
||||
export GOOS=darwin
|
||||
go build -o ./build/$GOOS/mdview/ .
|
||||
pushd build/$GOOS
|
||||
tar czvf mdview.tar.gz mdview
|
||||
tar czvf mdview.$GOOS.tar.gz mdview
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user