summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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