summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-03 03:18:27 -0600
committerJeff Carr <[email protected]>2024-12-03 03:18:27 -0600
commit96b72979a116cb14974645514920e43eeebd4e0e (patch)
tree088cc43f9500de703dad809ccbb2a80c1ed92a7f /Makefile
parent0abb2f78612fb9a3a0d91be8cc292398d4699c0d (diff)
almost, maybe, fully automated. maybe. finally.v0.22.28
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dd9f9fd..1dba7ad 100644
--- a/Makefile
+++ b/Makefile
@@ -15,13 +15,13 @@ build:
echo "build it!"
-rm resources/*.so
-mkdir resources/
- cp -a ~/go/src/go.wit.com/toolkits/*.so resources/
+ cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install:
-rm resources/*.so
- cp -a ~/go/src/go.wit.com/toolkits/*.so resources/
+ cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"