Sha256: 50eff9a2b0df35cffd81e51d536d7f313fc804560826c204c188d08d2316f2e5

Contents?: true

Size: 559 Bytes

Versions: 2

Compression:

Stored size: 559 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

namespace :npm do
  task :copy do
    sh 'rm -rf vendor/assets/stylesheets/emma.css/'
    sh 'mkdir vendor/assets/stylesheets/emma.css/'
    sh 'mkdir vendor/assets/stylesheets/emma.css/sass/'
    sh 'cp node_modules/emma.css/emma.css vendor/assets/stylesheets/emma.css/emma.css'
    sh 'cp -r node_modules/emma.css/sass/ vendor/assets/stylesheets/emma.css/sass/'
    sh "sed -n '1,1p' vendor/assets/stylesheets/emma.css/emma.css"
  end
end

task :default => :spec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
emma-css-rails-0.11.0.0 Rakefile
emma-css-rails-0.10.0.0 Rakefile