Skip to content

Commit

Permalink
add makefile for doing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Jun 25, 2018
1 parent 22fa085 commit d5655c5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5655c5

Please sign in to comment.