mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-11 11:08:48 +00:00
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:
6
Makefile
6
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
|
||||
Reference in New Issue
Block a user