Permalink
Browse files

Merge pull request #2 from lucasmazza/rakefile

Generate a Rakefile with a `assets:precompile` task.
  • Loading branch information...
2 parents 5e30cd9 + dc9ca07 commit b0b4c58baf0d0975dd5e87d3e0a14afa56e13aee @maccman committed Jun 20, 2012
Showing with 16 additions and 0 deletions.
  1. +8 −0 example/Rakefile
  2. +8 −0 templates/app/Rakefile
View
@@ -0,0 +1,8 @@
+require 'catapult'
+
+namespace :assets do
+ desc "Compile all the assets to ./public/assets."
+ task :precompile do
+ Catapult::CLI.new.build
+ end
+end
View
@@ -0,0 +1,8 @@
+require 'catapult'
+
+namespace :assets do
+ desc "Compile all the assets to ./public/assets."
+ task :precompile do
+ Catapult::CLI.new.build
+ end
+end

0 comments on commit b0b4c58

Please sign in to comment.