Front website https://natronics.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
672 B

3 years ago
9 years ago
3 years ago
9 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. _site: src/favicon.ico src/js/mathjax
  2. cobalt build
  3. src/js/mathjax: package-lock.json
  4. cp -r node_modules/mathjax/es5 src/js/mathjax
  5. src/favicon.ico: favicon.svg
  6. rsvg-convert -w 16 -h 16 --background-color=none favicon.svg -o favicon-16.png
  7. rsvg-convert -w 32 -h 32 --background-color=none favicon.svg -o favicon-32.png
  8. rsvg-convert -w 64 -h 64 --background-color=none favicon.svg -o favicon-64.png
  9. convert favicon-16.png favicon-32.png favicon-64.png favicon.ico
  10. rm favicon*.png
  11. mv favicon.ico src/
  12. deploy: _site
  13. rsync --delete -a _site/ amy:/var/www/natronics.org
  14. clean:
  15. rm -rf _site
  16. rm -f src/favicon.ico
  17. rm -rf src/js/mathjax
  18. .PHONY: _site deploy clean