aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-06 00:29:52 -0400
committerGitHub <noreply@github.com>2025-04-06 04:29:52 +0000
commitf1f8fdf7529daccad8fffe97ca6c868f7a9472c7 (patch)
tree1a8990c4d251de7e069c41aff96312f86a3d645a
parent95416dfe82ae8aefdad7537584db32710d41b287 (diff)
downloadanubis-f1f8fdf7529daccad8fffe97ca6c868f7a9472c7.tar.xz
anubis-f1f8fdf7529daccad8fffe97ca6c868f7a9472c7.zip
package.json: fix build command (#230)
Closes #225 Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--.github/workflows/go.yml2
-rw-r--r--package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 0be7b37..18a8df7 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -77,7 +77,7 @@ jobs:
npm run assets
- name: Build
- run: go build ./...
+ run: npm run build
- name: Test
run: npm run test
diff --git a/package.json b/package.json
index e8b4eb2..cfff0b6 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"test": "npm run assets && go test ./...",
"test:integration": "npm run assets && go test -v ./internal/test",
"assets": "go generate ./... && ./web/build.sh && ./xess/build.sh",
- "build": "npm run assets && go build -o ./var/anubis ../cmd/anubis",
+ "build": "npm run assets && go build -o ./var/anubis ./cmd/anubis",
"dev": "npm run assets && go run ./cmd/anubis --use-remote-address",
"container": "npm run assets && go run ./cmd/containerbuild",
"package": "yeet"