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
|
go get -u github.com/fsnotify/fsnotify
|
||||||
|
|
||||||
|
rm template_*.go
|
||||||
|
|
||||||
|
rm gen_*.go
|
||||||
|
|
||||||
|
rm tmpl_client/template_*.go
|
||||||
|
|
||||||
go generate
|
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"
|
echo "Building Gosora"
|
||||||
go generate
|
go generate
|
||||||
go build -o Gosora
|
go build -o Gosora
|
||||||
|
|
||||||
echo "Building the installer"
|
echo "Building the installer"
|
||||||
cd ./install
|
cd ./install
|
||||||
go build -o 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"
|
echo "Building Gosora"
|
||||||
go generate
|
go generate
|
||||||
go build -o Gosora -tags no_ws
|
go build -o Gosora -tags no_ws
|
||||||
|
|
||||||
echo "Building the installer"
|
echo "Building the installer"
|
||||||
cd ./install
|
cd ./install
|
||||||
go build -o 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"
|
echo "Generating the dynamic code"
|
||||||
go generate
|
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"
|
echo "Generating the dynamic code"
|
||||||
go generate
|
go generate
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue