123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # Sapphire
- #
- # Copyright (C) 2018 Alyssa Rosenzweig
- # Copyright (C) 2018 eq
- #
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
- all: hogan-3.0.1.js emoji.js countries-rev.js xss.txt
- echo "Built!"
- clean:
- rm *.js
- hogan-3.0.1.js:
- -rm hogan-3.0.1.js
- wget http://twitter.github.io/hogan.js/builds/3.0.1/hogan-3.0.1.js
- xss.txt:
- -rm xss.txt
- wget https://raw.githubusercontent.com/swisskyrepo/PayloadsAllTheThings/master/XSS%20injection/Intruders/xss_alert.txt -O xss.txt
- build/emoji.json:
- -rm build/emoji.json
- wget https://raw.githubusercontent.com/omnidan/node-emoji/master/lib/emoji.json -O build/emoji.json
- emoji.js: build/emoji.json emoji-extra.json
- nodejs tools/json-to-js.js build/emoji.json emoji-extra.json emoji.js EMOJIS
- build/countries.json:
- -rm build/countries.json
- wget http://country.io/names.json -O build/countries.json
- countries-rev.js: build/countries.json
- nodejs tools/reverse-json.js build/countries.json countries-rev.js
|