Add clean target

This commit is contained in:
Ludovic Stephan 2020-09-19 12:14:43 +02:00
parent 30ac7817cf
commit e4973367c6
2 changed files with 6 additions and 4090 deletions

View file

@ -11,9 +11,9 @@ TARGET = ../../js/kpsul.min.js
FLAGS =
build: concat minify
build: concat minify clean
# For dev use : we don't minify
dev: concat cp
dev: concat cp clean
concat:
@cat $(LIBS) $(MODELS) $(MANAGERS) $(ENTRYPOINT) > $(CONCAT_FILE)
@ -22,4 +22,7 @@ cp:
@cp $(CONCAT_FILE) $(TARGET)
minify:
terser $(CONCAT_FILE) -o $(TARGET) $(FLAGS)
terser $(CONCAT_FILE) -o $(TARGET) $(FLAGS)
clean:
@rm $(CONCAT_FILE)

File diff suppressed because it is too large Load diff