Makefile 826 B

12345678910111213141516171819202122232425262728
  1. all: hogan-3.0.1.js emoji.js countries-rev.js xss.txt
  2. echo "Built!"
  3. clean:
  4. rm *.js
  5. hogan-3.0.1.js:
  6. -rm hogan-3.0.1.js
  7. wget http://twitter.github.io/hogan.js/builds/3.0.1/hogan-3.0.1.js
  8. xss.txt:
  9. -rm xss.txt
  10. wget https://raw.githubusercontent.com/swisskyrepo/PayloadsAllTheThings/master/XSS%20injection/Intruders/xss_alert.txt -O xss.txt
  11. build/emoji.json:
  12. -rm build/emoji.json
  13. wget https://raw.githubusercontent.com/omnidan/node-emoji/master/lib/emoji.json -O build/emoji.json
  14. emoji.js: build/emoji.json emoji-extra.json
  15. nodejs tools/json-to-js.js build/emoji.json emoji-extra.json emoji.js EMOJIS
  16. build/countries.json:
  17. -rm build/countries.json
  18. wget http://country.io/names.json -O build/countries.json
  19. countries-rev.js: build/countries.json
  20. nodejs tools/reverse-json.js build/countries.json countries-rev.js