Skip to content
Snippets Groups Projects
Commit 6dce03da authored by Alvaro Cabrera Durán's avatar Alvaro Cabrera Durán
Browse files

Add shortcuts for build/test tasks

parent 3cbf0a22
Branches
No related tags found
No related merge requests found
......@@ -25,6 +25,12 @@ endef
?: Makefile
@awk -F':.*?##' '/^[a-z\\%!:-]+:.*##/{gsub("%","*",$$1);gsub("\\\\",":*",$$1);printf "\033[36m%8s\033[0m %s\n",$$1,$$2}' $<
build: ## Generate dist files from sources
@npm run build
test: deps ## Invoke all tests like if we're in CI
@npm run test:schema
dist: deps ## Build artifact for production
@(git worktree remove $(src) --force > /dev/null 2>&1) || true
@git worktree add $(src) $(target)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment