Skip to content

Commit

Permalink
rake bundle tip
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 20, 2011
1 parent b3fed0b commit 9ef943a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Rakefile
Expand Up @@ -34,6 +34,14 @@ namespace :hurl do
end end
end end


# Needs bundler, uglifyjs, and uglifycss installed on the server.
#
# Bundler:
# gem install bundler
# uglifyjs:
# npm install uglify-js
# uglifycss:
# curl https://github.com/fmarcia/UglifyCSS/raw/master/uglifycss > /usr/bin/uglifcss
task :bundle do task :bundle do
system "bundle install" system "bundle install"
rm "public/js/bundle.js" rescue nil # >:O rm "public/js/bundle.js" rescue nil # >:O
Expand Down

0 comments on commit 9ef943a

Please sign in to comment.