From 84aeec7ddeebbd2e017e9ef25184ca3cb671008c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 3 Nov 2024 01:41:00 -0500 Subject: [PATCH] more notes Signed-off-by: Jeff Carr --- Makefile | 16 ++++------------ 1 file 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