summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 16:54:16 -0600
committerJeff Carr <[email protected]>2024-11-07 16:54:16 -0600
commitaf99bd179c75f331497dbdc23e83b9e6c0a5f349 (patch)
tree89876d7e9350994c454cba648559f47c870f48d9 /Makefile
parent3133bb0801bcfd3912e994d67349443fd3230512 (diff)
include toolkit resources in binaryv0.21.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d94a15f..ac78871 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
VERSION = $(shell git describe --tags)
all:
+ -rm resources/*.so
+ touch resources/blank.so
+ -cp -a ~/go/src/go.wit.com/toolkits/*.so resources/ # embed the toolkit plugins in the binary
GO111MODULE=off go build -v -x \
-ldflags "-X main.VERSION=${VERSION}"
./helloworld