From df27a96f1f67b8f30b96bf8fd28e985793dfd45d Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 6 Apr 2025 08:44:52 -0400 Subject: make a half-baked tarball (#221) * make a half-baked tarball Closes #217 Signed-off-by: Xe Iaso * make two tarballs: one with just the vendor, and one with vendor and npm Signed-off-by: Xe Iaso --------- Signed-off-by: Xe Iaso --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c16fa57..9b8b61c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ NODE_MODULES = node_modules +VERSION := $(shell cat ./VERSION) -.PHONY: build assets deps lint test +.PHONY: build assets deps lint prebaked-build test assets: npm run assets @@ -19,5 +20,8 @@ lint: go vet ./... go tool staticcheck ./... +prebaked-build: + go build -o ./var/anubis -ldflags "-X 'github.com/TecharoHQ/anubis.Version=$(VERSION)'" ./cmd/anubis + test: npm run test \ No newline at end of file -- cgit v1.2.3