Rake::Templates
A simple templating library using rake. Assumes templates are in
./templates
and want to be rendered into ./public
.
Installation
Add this line to your application's Gemfile:
gem 'rake-templates'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rake-templates
Usage
$ rake templates:compile
will render and copy every file from ./templates
to ./public
one at
a time using tilt. The only additional method that is provided is
asset_path
for use with rake-sprockets.
Contributing
- Fork it ( https://github.com/myobie/rake-templates/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request