Permalink
Browse files

task for rebuilding assets

  • Loading branch information...
lachie committed Aug 14, 2010
1 parent b09c064 commit 5454b0db0fe5b11b7eba3e551a6ac0f560257378
Showing with 15 additions and 0 deletions.
  1. +15 −0 Rakefile
View
@@ -64,3 +64,18 @@ else
abort "Please run rake dev as 'rake dev'"
end
end
+
+task :bundled_env do
+ require 'rubygems'
+ require 'bundler'
+ Bundler.setup
+
+ $LOAD_PATH << File.expand_path('../lib',__FILE__)
+ require 'whereuat'
+end
+
+namespace :assets do
+ task :rebuild => :bundled_env do
+ Whereuat::Assets.rebuild!
+ end
+end

0 comments on commit 5454b0d

Please sign in to comment.