diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2f066e2 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +update: + mkdir -p tmp + + curl -L https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json > tmp/emoji.json + + curl -L https://api.github.com/repos/twitter/twemoji/tarball > tmp/twemoji.tar.gz + tar xf tmp/twemoji.tar.gz -C tmp + + ruby update.rb diff --git a/README.md b/README.md index f4e49c2..74c58dc 100755 --- a/README.md +++ b/README.md @@ -23,14 +23,7 @@ open http://localhost:4000 Pulls from [emoji-data](https://github.com/iamcal/emoji-data). ```sh -mkdir -p tmp - -curl -L https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json > tmp/emoji.json - -curl -L https://api.github.com/repos/twitter/twemoji/tarball > tmp/twemoji.tar.gz -tar xf tmp/twemoji.tar.gz -C tmp - -ruby update.rb +make ``` ## See Also