From af99bd179c75f331497dbdc23e83b9e6c0a5f349 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Nov 2024 16:54:16 -0600 Subject: include toolkit resources in binary --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3