summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-03 01:41:00 -0500
committerJeff Carr <[email protected]>2024-11-03 01:41:00 -0500
commit84aeec7ddeebbd2e017e9ef25184ca3cb671008c (patch)
tree9ea5c18eca62c8783fa323bd0fb06f20b2b4e4bd
parentbd1ed6f513d9a84b22c74d5a3e5683817e3aae8e (diff)
more notes
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index ebad2d3..d2f4751 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,13 @@
VERSION = $(shell git describe --tags)
# create the go.mod and go.sum if this is a brand new repo
-# REDOMOD = $(shell if [ -e go.mod ]; then echo go.mod; else echo no go mod; fi)
REDOMOD = $(shell if [ -e go.sum ]; then echo go.sum exists; else GO111MODULE= go mod init; GO111MODULE= go mod tidy; fi)
check_files:
+ @echo
+ @echo the build is complicated right now because you need
+ @echo the google version of protoc-gen-go which is not the one in debian sid yet
+ @echo
@if [ -f "/usr/bin/bin/protoc-gen-go" ]; then \
echo "the protoc-gen-go package is old in debian sid right now"; \
echo "for now, remove it"; \
@@ -25,17 +28,6 @@ check_files:
make all
all:
- @echo
- @echo the build is complicated right now because you need
- @echo the google version of protoc-gen-go which is not the one in debian
- @echo sid right now. until that is fixed, this is a pain in the ass
- @echo
- @echo also, makefiles are awesome, but only for simple shit. this shit is
- @echo way to complicated to be here so Im rather leaning towards making
- @echo a go binary just to build this
- @echo
- @echo for now, add mirrors.wit.com to apt and run 'apt install virtigo'
- @echo
make build
./virtigo --version
@echo build worked