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

Setup bower on deps; cleanup

parent 3a6a4fc6
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +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
lib: deps
@npm run build
dev:
@npm run watch
test: deps ## Invoke all tests like if we're in CI
@npm run test:schema
......@@ -48,6 +51,7 @@ deploy: $(src) ## Push built artifacts to github!
deps: ## Check for installed dependencies
@(((ls node_modules | grep .) > /dev/null 2>&1) || npm i) || true
@(((ls bower_components | grep .) > /dev/null 2>&1) || bower i) || true
purge: clean ## Remove all from node_modules/*
@printf "\r* Removing all dependencies... "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment