Sha256: f61d5c27e5734211aba2660ac0986e7594b6a4c348956eb03c408aea15427b7d

Contents?: true

Size: 483 Bytes

Versions: 6

Compression:

Stored size: 483 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"
  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

6 entries across 6 versions & 1 rubygems

Version Path
sassc-0.0.9 Rakefile
sassc-0.0.8 Rakefile
sassc-0.0.7 Rakefile
sassc-0.0.6 Rakefile
sassc-0.0.5 Rakefile
sassc-0.0.4 Rakefile