Skip to content

Commit

Permalink
Merge pull request #936 from alphagov/remove-generator
Browse files Browse the repository at this point in the history
Remove format generator
  • Loading branch information
tijmenb authored Jun 15, 2018
2 parents 32becbf + 94a1b40 commit dd59c2a
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 dd59c2a

Please sign in to comment.