Update Makefile-v3

This commit is contained in:
ferreo 2024-11-04 16:06:33 +01:00
parent 6a2945011a
commit 0a8c712aaa

View File

@ -3,5 +3,5 @@ all:
install: install:
mkdir -p $(DESTDIR)/usr/bin/ mkdir -p $(DESTDIR)/usr/bin/
GOAMD=v3 go build -ldflags="-s -w" -o $(DESTDIR)/usr/bin/carapace -buildvcs=false GOAMD=v3 sh -c 'sh -c "cd /carapace-bin/cmd/carapace && go generate ./... && go build -ldflags=\"-s -w\" . -o $(DESTDIR)/usr/bin/carapace -buildvcs=false"'
chmod 755 $(DESTDIR)/usr/bin/carapace chmod 755 $(DESTDIR)/usr/bin/carapace