diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-04-06 08:44:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-06 12:44:52 +0000 |
| commit | df27a96f1f67b8f30b96bf8fd28e985793dfd45d (patch) | |
| tree | a470b34d27e1e0d1eb16d2e8ffac4373b2cdd764 /Makefile | |
| parent | f1f8fdf7529daccad8fffe97ca6c868f7a9472c7 (diff) | |
| download | anubis-df27a96f1f67b8f30b96bf8fd28e985793dfd45d.tar.xz anubis-df27a96f1f67b8f30b96bf8fd28e985793dfd45d.zip | |
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>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
