From 6dce03da25515337bf407ce35965121f2f698dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Cabrera=20Dur=C3=A1n?= <pateketrueke@gmail.com> Date: Wed, 23 Oct 2019 10:00:11 -0500 Subject: [PATCH] Add shortcuts for build/test tasks --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index aa8bdde0..c73f7e7b 100644 --- a/Makefile +++ b/Makefile @@ -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) -- GitLab