@@ -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
498498licenses : $(LICENSES_FILE )  # # generate licenses.txt
499499
500500$(LICENSES_FILE ) 
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
503503generate-ini-sqlite :
504504	sed -e ' s|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \ 
@@ -743,7 +743,7 @@ install: $(wildcard *.go)
743743build : 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
749749backend : go-check generate-backend $(EXECUTABLE )  # # build backend files
@@ -756,7 +756,7 @@ generate: generate-backend ## run "go generate"
756756generate-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