Add tags target to Makefile

This commit is contained in:
Jan Eitzinger 2023-03-02 14:11:06 +01:00
parent 55f4b2dbbc
commit 928cea6814

View File

@ -23,7 +23,7 @@ SVELTE_SRC = $(wildcard $(FRONTEND)/src/*.svelte) \
$(wildcard $(FRONTEND)/src/plots/*.svelte) \ $(wildcard $(FRONTEND)/src/plots/*.svelte) \
$(wildcard $(FRONTEND)/src/joblist/*.svelte) $(wildcard $(FRONTEND)/src/joblist/*.svelte)
.PHONY: clean test $(TARGET) .PHONY: clean test tags $(TARGET)
.NOTPARALLEL: .NOTPARALLEL:
@ -43,6 +43,10 @@ test:
@go vet ./... @go vet ./...
@go test ./... @go test ./...
tags:
$(info ===> TAGS)
@ctags -R
$(SVELTE_TARGETS): $(SVELTE_SRC) $(SVELTE_TARGETS): $(SVELTE_SRC)
$(info ===> BUILD frontend) $(info ===> BUILD frontend)
cd web/frontend && yarn build cd web/frontend && yarn build