summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-15 22:56:21 -0600
committerJeff Carr <[email protected]>2024-01-15 22:56:21 -0600
commit19a48de5da8004171f0167fbafe90f85b0bbcb3f (patch)
tree8daf63d297780c190124d70bf0c617dc7d5c2422
parente6e2e7a3bfc73bb0a564d46acf9f0d8c63e44b46 (diff)
notes
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 10bd352..13d6988 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ build:
-cp ~/go/src/go.wit.com/gui/toolkits/*.so resources/
go install -v -x
+check-git-clean:
+ @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1)
+
redomod:
rm -f go.*
GO111MODULE= go mod init