Dresser
Simple gem that helps to organise paths like so:
app/ assets/ models/ themes/ theme_name_1/ views/ javascripts/ styleseets/ theme_name_2/ views/ javascripts/ styleseets/
Installation
Add this line to your application's Gemfile:
gem 'dresser'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dresser
Usage
cd #your_rails_app mkdir -p app/themes/default/ mv app/views app/themes/default/ mv app/assets/javascripts app/themes/default/ mv app/assets/stylesheets app/themes/default/
echo "Dresser.config.default_theme = 'default' > config/initializers/dresser.rb"
TODO: Add generator for this.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request