gosora/build-linux

15 lines
246 B
Plaintext
Raw Normal View History

echo "Deleting artifacts from previous builds"
rm template_*.go
rm gen_*.go
rm tmpl_client/template_*.go
echo "Building Gosora"
go generate
go build -o Gosora
echo "Building the installer"
cd ./install
go build -o Install
mv ./Install ..
cd ..