Skip to content

Commit

Permalink
Add Make shortcut to install all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed May 21, 2018
1 parent eeb56cd commit ef8ef5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ all: prod-deps inertia
ls:
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs

# Install all dependencies
.PHONY: deps
deps: prod-deps dev-deps

# Sets up production dependencies
.PHONY: prod-deps
prod-deps:
Expand Down

0 comments on commit ef8ef5a

Please sign in to comment.