Point d'entrée unique pour le JS de K-Psul #740
2 changed files with 6 additions and 4090 deletions
|
@ -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
Loading…
Reference in a new issue