summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6ffa75c..ba8afbc 100644
--- a/Makefile
+++ b/Makefile
@@ -33,10 +33,14 @@ vet:
build:
echo "build it!"
+ -rm resources/*.so
+ cp -a ~/go/src/go.wit.com/toolkits/*.so resources/
GO111MODULE=off go build -v -x -ldflags " \
-X main.VERSION=${VERSION}"
install:
+ -rm resources/*.so
+ cp -a ~/go/src/go.wit.com/toolkits/*.so resources/
GO111MODULE=off go install -v -x -ldflags " \
-X main.VERSION=${VERSION}"
# go install -v -x