Sha256: e46de6328bbf978d873d52b683310d935b62b90c9322e59f10173e55bbf81cef
Contents?: true
Size: 835 Bytes
Versions: 1
Compression:
Stored size: 835 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require 'open-uri' desc "Download the latest handyCSS.css" task :update do # Updating handyCSS url = "https://raw.github.com/kpvarma/handyCSS/master/css/handyCSS.css" outputfile = "vendor/assets/stylesheets/handycss.css" open(outputfile, 'wb') do |file| file << open(url).read end # Updating box styles url = "https://raw.github.com/kpvarma/handyCSS/master/css/handyCSS.box.css" outputfile = "vendor/assets/stylesheets/handycss.box.css" open(outputfile, 'wb') do |file| file << open(url).read end # Updating backdrops styles url = "https://raw.github.com/kpvarma/handyCSS/master/css/handyCSS.backdrops.css" outputfile = "vendor/assets/stylesheets/handycss.backdrops.css" open(outputfile, 'wb') do |file| file << open(url).read end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
handy-css-rails-0.0.7 | Rakefile |