summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-04-22 00:12:37 +0200
committerache <ache@ache.one>2023-04-22 00:12:37 +0200
commit67d56893ec3812f4dbaa31f116e3571adf6accae (patch)
tree7728435c1e5eb1eaebec82f6d358a61d54e1c6e4
parentSupport for local dev (diff)
Improove Makefile
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5313b1b..d93eac4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,21 @@
# > Fonctions de nettoyage
-# .PHONY sert à indiquer une commande (sinon un fichier clean poserait problème)
+# .PHONY sert à indiquer une commande (sinon un fichier nommé "clean" poserait problème)
# Un tiret devant une commande indique d'ignorer une éventuelle erreur.
+.PHONY: clean build js css svg static svg
+build: svg css js static
-.PHONY: clean build
-
-build:
+svg:
npm run build-svg
+
+css:
npm run build-css
+
+js:
npm run build-js
+
+static:
npm run build-static
clean: