Sha256: 8c7662225579510fc0889a93962c60c187b69475457992eaa8c355384ac3b2cf

Contents?: true

Size: 503 Bytes

Versions: 7

Compression:

Stored size: 503 Bytes

Contents

begin
  require 'bundler/gem_tasks'
rescue LoadError
  puts 'Cannot load bundler/gem_tasks'
end

task default: :prepare

task prepare: "ext/lib/libsass.so"

file "ext/lib/libsass.so" do
  gem_dir = File.expand_path(File.dirname(__FILE__)) + "/"
  cd "ext/libsass"
  sh 'make lib/libsass.so LDFLAGS="-Wall -O2"'
  cd gem_dir
end

task test: :prepare do
  $LOAD_PATH.unshift('lib', 'test')
  Dir.glob('./test/**/*_test.rb') { |f| require f }
end

task :submodule do
  sh "git submodule update --init"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sassc-1.2.0 Rakefile
sassc-1.1.2 Rakefile
sassc-1.1.1 Rakefile
sassc-1.1.0 Rakefile
sassc-1.0.0 Rakefile
sassc-0.0.11 Rakefile
sassc-0.0.10 Rakefile