Skip to content

Commit

Permalink
Add Makefile to ease maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Aug 27, 2024
1 parent 07b8fc7 commit b31de0d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
################
# Public tasks #
################

# This is the default task
all: help

setup: ## Setup local environment
asdf plugin add nodejs || true
asdf plugin add yarn || true
asdf install
asdf current

deps: ## Install dependencies
yarn install

build: ## Build JS
yarn run gulp


.PHONY: all setup deps build


#################
# Private tasks #
#################

help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

.PHONY: help

0 comments on commit b31de0d

Please sign in to comment.