Skip to content

Commit

Permalink
chore: change makefile rule name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubisoft-potato committed Aug 6, 2024
1 parent 0c1860d commit 3b4d06a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,21 +148,21 @@ $(GO_APP_BUILD_TARGETS): build-%:
go build -ldflags "-s -w -X $(LDFLAGS_VERSION)=$(VERSION) -X $(LDFLAGS_HASH)=$(HASH) -X $(LDFLAGS_BUILDDATE)=$(BUILDDATE)" \
-o bin/$* -mod=vendor cmd/$*/$*.go

.PHONY: clean-web
clean-web:
.PHONY: clean-console
clean-console:
rm -rf ui/web-v2/dist/*
touch ui/web-v2/dist/DONT-EDIT-FILES-IN-THIS-DIRECTORY

.PHONY: build-web
build-web:
.PHONY: build-console
build-console:
rm -rf ui/web-v2/dist/*
make -C ui/web-v2 install build

.PHONY: build-go
build-go: $(GO_APP_BUILD_TARGETS)

.PHONY: build-go-embed
build-go-embed: build-web $(GO_APP_BUILD_TARGETS) clean-web
build-go-embed: build-console $(GO_APP_BUILD_TARGETS) clean-console

# Make sure bucketeer-httpstan is already running. If not, run "make start-httpstan".
.PHONY: test-go
Expand Down

0 comments on commit 3b4d06a

Please sign in to comment.