Skip to content

Commit

Permalink
Put generation code in its own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mgold committed Apr 17, 2017
1 parent 649365a commit 1b21bb3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ For example :
import Material.Icons.Action exposing (account_balance)
```


## Development

To generate the code for the icons, run:

```bash
bundle
ruby generate.rb
bundle --gemfile=gen/Gemfile
ruby gen/generate.rb
```

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion generate.rb → gen/generate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Constants
# =========

ROOT = Dir.pwd
ROOT = %x`git rev-parse --show-toplevel`.chomp
SOT_DIR = File.join ROOT, "tmp", "sot"
OUT_DIR = File.join ROOT, "out" # TODO: use `tmp` dir
SKIP_CATS = %w(iconfont sprites)
Expand Down

0 comments on commit 1b21bb3

Please sign in to comment.