From 67d56893ec3812f4dbaa31f116e3571adf6accae Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 22 Apr 2023 00:12:37 +0200 Subject: Improove Makefile --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3-54-g00ecf