Sha256: c18d398207de2553726d73bfbbb5723d884802331bd2f555bfa1b2e76e4ad7e7

Contents?: true

Size: 889 Bytes

Versions: 5

Compression:

Stored size: 889 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/handy-css-rails/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/handy-css-rails/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/handy-css-rails/handyCSS.backdrops.css"

  open(outputfile, 'wb') do |file|
    file << open(url).read
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
handy-css-rails-0.0.6 Rakefile
handy-css-rails-0.0.5 Rakefile
handy-css-rails-0.0.4 Rakefile
handy-css-rails-0.0.2 Rakefile
handy-css-rails-0.0.1 Rakefile