Commit 4e92672d authored by Lukas Burgey's avatar Lukas Burgey

Add Makefile

parent d3d58a6e
DIST := dist
NM := node_modules
NG := $(NM)/.bin/ng
.PHONY: clean, dev, prod
all: prod
clean:
@rm -rf $(DIST)
cleaner:
@rm -rf $(NM) $(DIST)
$(NM):
@npm install
$(NG): $(NM)
dev: $(NG)
@$(NG) build --aot
prod: $(NG)
@$(NG) build --aot --prod
$(DIST): prod
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment