make a half-baked tarball (#221)

* make a half-baked tarball

Closes #217

Signed-off-by: Xe Iaso <me@xeiaso.net>

* make two tarballs: one with just the vendor, and one with vendor and npm

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-04-06 08:44:52 -04:00 committed by GitHub
parent f1f8fdf752
commit df27a96f1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 77 additions and 5 deletions

View file

@ -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