Sha256: c0c86635ccca162535c515059a3eb1478d73da96a8fe0d049d5e80ad40c7f41d

Contents?: true

Size: 689 Bytes

Versions: 6

Compression:

Stored size: 689 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

desc 'Default: run unit tests.'
task default: :test

specname = "sass-rails.gemspec"
deps = `git ls-files`.split("\n") - [specname]

file specname => deps do
  files       = `git ls-files`.split("\n")
  test_files  = `git ls-files -- {test,spec,features}/*`.split("\n")
  executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }

  require 'erb'

  File.open specname, 'w:utf-8' do |f|
    f.write ERB.new(File.read("#{specname}.erb")).result(binding)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sass-rails-5.0.0.beta1 Rakefile
sass-rails-4.0.3 Rakefile
sass-rails-4.0.2 Rakefile
sass-rails-4.0.1 Rakefile
sass-rails-4.0.0 Rakefile
sass-rails-4.0.0.rc2 Rakefile