blob: b468c82389d00be7303d5e9ec6d3f3a860413f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# > Fonctions de nettoyage
# .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
svg:
npm run build-svg
css:
npm run build-css
cp ./node_modules/katex/dist/katex.css s/css/
cp -r ./node_modules/katex/dist/fonts s/css/
js:
npm run build-js
wget "https://cdn.plot.ly/plotly-2.24.3.min.js" -O s/js/plotly.min.js
static:
npm run build-static
clean:
@echo "Clean"
-rm -fr articles/*.html tag/ s/ index.html rss.xml en/ fr/
|