Skip to content

Commit 9cf1933

Browse files
committed
move it back to frontend targets
1 parent 42e1c8f commit 9cf1933

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,12 @@ watch: ## watch everything and continuously rebuild
429429
@bash tools/watch.sh
430430

431431
.PHONY: watch-frontend
432-
watch-frontend: node-check node_modules ## watch frontend files and continuously rebuild
432+
watch-frontend: $(LICENSES_FILE) node-check node_modules ## watch frontend files and continuously rebuild
433433
@rm -rf $(WEBPACK_DEST_ENTRIES)
434434
@BROWSERSLIST_IGNORE_OLD_DATA=true NODE_ENV=development $(NODE_VARS) pnpm exec webpack --watch --progress --disable-interpret
435435

436436
.PHONY: watch-backend
437-
watch-backend: $(LICENSES_FILE) go-check ## watch backend files and continuously rebuild
437+
watch-backend: go-check ## watch backend files and continuously rebuild
438438
GITEA_RUN_MODE=dev $(GO) run $(AIR_PACKAGE) -c .air.toml
439439

440440
.PHONY: test
@@ -498,7 +498,7 @@ tidy-check: tidy
498498
licenses: $(LICENSES_FILE) ## generate licenses.txt
499499

500500
$(LICENSES_FILE): go.sum pnpm-lock.yaml uv.lock
501-
GOEXPERIMENT= $(GO) run $(TRIVY_PACKAGE) fs --quiet --scanners license --exit-code 0 --format spdx --output $(LICENSES_FILE) .
501+
$(GO) run $(TRIVY_PACKAGE) fs --quiet --scanners license --exit-code 0 --format spdx --output $(LICENSES_FILE) .
502502

503503
generate-ini-sqlite:
504504
sed -e 's|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \
@@ -743,7 +743,7 @@ install: $(wildcard *.go)
743743
build: frontend backend ## build everything
744744

745745
.PHONY: frontend
746-
frontend: $(WEBPACK_DEST) ## build frontend files
746+
frontend: $(WEBPACK_DEST) $(LICENSES_FILE) ## build frontend files
747747

748748
.PHONY: backend
749749
backend: go-check generate-backend $(EXECUTABLE) ## build backend files
@@ -756,7 +756,7 @@ generate: generate-backend ## run "go generate"
756756
generate-backend: $(TAGS_PREREQ) generate-go
757757

758758
.PHONY: generate-go
759-
generate-go: $(TAGS_PREREQ) $(LICENSES_FILE)
759+
generate-go: $(TAGS_PREREQ)
760760
@echo "Running go generate..."
761761
@CC= GOOS= GOARCH= CGO_ENABLED=0 $(GO) generate -tags '$(TAGS)' ./...
762762

0 commit comments

Comments
 (0)