Skip to content

Commit

Permalink
Merge pull request ClusterCockpit#276 from ClusterCockpit/hotfix
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
moebiusband73 authored Jun 28, 2024
2 parents 51452d2 + d61c423 commit 74d4f00
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SVELTE_SRC = $(wildcard $(FRONTEND)/src/*.svelte) \
$(wildcard $(FRONTEND)/src/plots/*.svelte) \
$(wildcard $(FRONTEND)/src/joblist/*.svelte)

.PHONY: clean distclean test tags frontend $(TARGET)
.PHONY: clean distclean test tags frontend swagger graphql $(TARGET)

.NOTPARALLEL:

Expand All @@ -40,6 +40,15 @@ frontend:
$(info ===> BUILD frontend)
cd web/frontend && npm install && npm run build

swagger:
$(info ===> GENERATE swagger)
@go run github.com/swaggo/swag/cmd/swag init -d ./internal/api,./pkg/schema -g rest.go -o ./api
@mv ./api/docs.go ./internal/api/docs.go

graphql:
$(info ===> GENERATE graphql)
@go run github.com/99designs/gqlgen

clean:
$(info ===> CLEAN)
@go clean
Expand Down

0 comments on commit 74d4f00

Please sign in to comment.