The scripts for Linux now clear out previously generated files so they shouldn't cause hassles after upgrades anymore.
This commit is contained in:
parent
dd75bf9ad9
commit
aa073ced48
|
@ -126,6 +126,11 @@ go get -u github.com/denisenkom/go-mssqldb
|
|||
|
||||
go get -u github.com/fsnotify/fsnotify
|
||||
|
||||
rm template_*.go
|
||||
|
||||
rm gen_*.go
|
||||
|
||||
rm tmpl_client/template_*.go
|
||||
|
||||
go generate
|
||||
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
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
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
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 -tags no_ws
|
||||
|
||||
echo "Building the installer"
|
||||
cd ./install
|
||||
go build -o Install
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
echo "Deleting artifacts from previous builds"
|
||||
rm template_*.go
|
||||
rm gen_*.go
|
||||
rm tmpl_client/template_*.go
|
||||
|
||||
echo "Generating the dynamic code"
|
||||
go generate
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
echo "Deleting artifacts from previous builds"
|
||||
rm template_*.go
|
||||
rm gen_*.go
|
||||
rm tmpl_client/template_*.go
|
||||
|
||||
echo "Generating the dynamic code"
|
||||
go generate
|
||||
|
||||
|
|
Loading…
Reference in New Issue