Skip to content

Commit

Permalink
feat(Makefile): Add build mod tasks to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kim201212 committed Oct 22, 2024
1 parent 64e7b0c commit cb90e4f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
help: ## Display this help message
@egrep -h '\s##\s' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-30s\033[0m %s\n", $$1, $$2}'

###############################################################################
### Build ###
###############################################################################

.PHONY: build
build: mod ## Build the story client.
@mkdir -p build/
@go build -o build/story ./client

.PHONY: mod
mod: ## mod: Update all go.mod files.
@go mod tidy

###############################################################################
### Contracts ###
Expand Down

0 comments on commit cb90e4f

Please sign in to comment.