Skip to content

Commit

Permalink
Remove format generator
Browse files Browse the repository at this point in the history
This used to be used during migration to quickly generate new formats.
We're not adding many anymore, so we don't need this as often.
Currently it's not worth the overhead of keeping this up to date.
  • Loading branch information
tijmenb committed Jun 15, 2018
1 parent 32becbf commit 94a1b40
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 70 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,6 @@ The yaml file contains a custom key of `:document_types` not used by wraith but
bundle exec rake wraith:update_document_types[:sample_size]
```

### Adding a new format

There’s a rails generator you can use to stub the basic files needed for a new format. It stubs the following:
* Stylesheet
* Template
* Presenter
* Presenter test
* Integration test

```
bundle exec rails generate format [format_name]
```

## Licence

[MIT License](LICENCE)
5 changes: 0 additions & 5 deletions lib/generators/format/USAGE

This file was deleted.

21 changes: 0 additions & 21 deletions lib/generators/format/format_generator.rb

This file was deleted.

3 changes: 0 additions & 3 deletions lib/generators/format/templates/_format.scss

This file was deleted.

9 changes: 0 additions & 9 deletions lib/generators/format/templates/format.html.erb

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions lib/generators/format/templates/format_presenter.rb.erb

This file was deleted.

13 changes: 0 additions & 13 deletions lib/generators/format/templates/format_presenter_test.rb.erb

This file was deleted.

0 comments on commit 94a1b40

Please sign in to comment.