Sha256: eb5b0e0a6f19c44624cfa577d4ea5164ff81396be09dee6bc4800c1e684c3290

Contents?: true

Size: 521 Bytes

Versions: 2

Compression:

Stored size: 521 Bytes

Contents

require "fileutils"
include FileUtils::Verbose

RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..")) unless defined?(RAILS_ROOT)

mkdir_p File.join(RAILS_ROOT, "vendor", "sprockets")
mkdir_p File.join(RAILS_ROOT, "app", "javascripts")
touch   File.join(RAILS_ROOT, "app", "javascripts", "application.js")

unless File.exists?(File.join(RAILS_ROOT, "config", "sprockets.yml"))
cp      File.join(File.dirname(__FILE__), "config", "sprockets.yml"), 
        File.join(RAILS_ROOT, "config")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprockets-rails-0.0.1 install.rb
sprockets-rails-0.0.0 install.rb