summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-17 17:02:29 -0500
committerJeff Carr <[email protected]>2025-08-17 22:57:06 -0500
commit25c604aeee7cd821d27dfd4c09bf0626e9312535 (patch)
treee7b875d4077ffb7fa265c7a1bd8fefafbc9d0235 /Makefile
parentbd5b16d8755bc9e5f0dc90162bc4724d319c725e (diff)
protobuf file for block devices
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5601d2a..f53f5da 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION = $(shell git describe --tags)
GUIVERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d)
-all: verbose
+all: block.pb.go verbose
# -fixup --gui-check-plugin ../../../toolkits/gocui/gocui.so
fixup --gui gocui --gui-verbose --gui-file ../../toolkits/gocui/gocui.so
@@ -32,9 +32,17 @@ goimports:
clean:
rm -f go.*
+ rm -f *.pb.go
+ go-mod-clean purge
gpl:
wit-test --witcom
check-git-clean:
@git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
+
+block.pb.go: block.proto
+ autogenpb --proto block.proto
+
+commit:
+ FORGE_URL="https://forge.grid.wit.com/" forge commit --all