To generate json file:
bundle install
bundle exec bin/build_jsons decks.json
To add new decks from new set:
- add set code to
lib/sets.rb
(runningrake sets
does it automatically if it's already in magic-search-engine's index) - use url2txt from taw/mtg repo to fetch decklists
- move decklists to right repository
- use
bundle exec bin/build_jsons decks.json
to validate