diff --git a/README.md b/README.md index a146c564..61ff3939 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build-linux b/build-linux index 4f323442..c0ccbb94 100644 --- a/build-linux +++ b/build-linux @@ -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 diff --git a/build-linux-nowebsockets b/build-linux-nowebsockets index 909d6ff7..d18431df 100644 --- a/build-linux-nowebsockets +++ b/build-linux-nowebsockets @@ -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 diff --git a/run-linux b/run-linux index 6e4cc6e4..f1c4beac 100644 --- a/run-linux +++ b/run-linux @@ -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 diff --git a/run-linux-nowebsockets b/run-linux-nowebsockets index 08bd3a2f..ce18d033 100644 --- a/run-linux-nowebsockets +++ b/run-linux-nowebsockets @@ -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