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.

17 lines
477 B

9 years ago
  1. public:
  2. npx hexo generate
  3. favicon.ico: favicon.svg
  4. rsvg-convert -w 16 -h 16 --background-color=none favicon.svg -o favicon-16.png
  5. rsvg-convert -w 32 -h 32 --background-color=none favicon.svg -o favicon-32.png
  6. rsvg-convert -w 64 -h 64 --background-color=none favicon.svg -o favicon-64.png
  7. convert favicon-16.png favicon-32.png favicon-64.png favicon.ico
  8. rm favicon*.png
  9. deploy: public
  10. scp -r public/* natronics.org:/var/www
  11. clean:
  12. rm -rf public
  13. .PHONY: deploy clean