HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/crass-1.0.6/Rakefile
require 'bundler'
require 'rake/testtask'

Bundler::GemHelper.install_tasks

Rake::TestTask.new
task :default => [:test]
task :test => :set_rubyopts

task :set_rubyopts do
  ENV['RUBYOPT'] ||= ""
  ENV['RUBYOPT'] += " -w"

  if RUBY_ENGINE == "ruby" && RUBY_VERSION >= "2.3"
    ENV['RUBYOPT'] += " --enable-frozen-string-literal --debug=frozen-string-literal"
  end
end

task :'pull-css-tests' do
  sh 'git subtree pull -P test/css-parsing-tests https://github.com/SimonSapin/css-parsing-tests.git master --squash'
end