Sha256: afb40c5c16d5f289d5deac2c5db397e6f24487ad278a561e44f08c3e53e7e0a6

Contents?: true

Size: 904 Bytes

Versions: 19

Compression:

Stored size: 904 Bytes

Contents

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

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

task :default => :spec

namespace :wrapper do
  desc 'Wrap styles assets into this gem'
  task wrap: :clean do
    # readme
    cp_r '../README.md', 'README.md'

    #  gobstones-code-runner
    cp_r '../dist/gobstones-code-runner.html', 'app/assets/htmls'

    # polymer
    cp_r '../bower_components/polymer/polymer.html', 'app/assets/htmls/vendor'
    cp_r '../bower_components/polymer/polymer-mini.html', 'app/assets/htmls/vendor'
    cp_r '../bower_components/polymer/polymer-micro.html', 'app/assets/htmls/vendor'

    # webcomponents
    cp_r '../bower_components/webcomponentsjs/webcomponents-lite.min.js', 'app/assets/javascripts/vendor'
  end

  task :clean do
    rm_rf 'app'
    mkdir_p 'app/assets/htmls'
    mkdir_p 'app/assets/htmls/vendor'
    mkdir_p 'app/assets/javascripts/vendor'
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
mumuki-gobstones-code-runner-0.11.1 Rakefile
gobstones-code-runner-0.10.1 Rakefile
gobstones-code-runner-0.10.0 Rakefile
gobstones-code-runner-0.9.0 Rakefile
gobstones-code-runner-0.8.0 Rakefile
gobstones-code-runner-0.7.2 Rakefile
gobstones-code-runner-0.7.0 Rakefile
gobstones-code-runner-0.6.0 Rakefile
gobstones-code-runner-0.5.4 Rakefile
gobstones-code-runner-0.5.3 Rakefile
gobstones-code-runner-0.5.2 Rakefile
gobstones-code-runner-0.4.2 Rakefile
gobstones-code-runner-0.4.1 Rakefile
gobstones-code-runner-0.3.1 Rakefile
gobstones-code-runner-0.3.0 Rakefile
gobstones-code-runner-0.2.0 Rakefile
gobstones-code-runner-0.1.0 Rakefile
gobstones-code-runner-0.0.8 Rakefile
gobstones-code-runner-0.0.5 Rakefile