Sha256: 7b4f533c02f54439c3934a69cf212a521fe88c30c7a53f1920e74cf6fde0b675

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

require "bundler/gem_tasks"

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

2 entries across 2 versions & 1 rubygems

Version Path
sassc-0.0.2 Rakefile
sassc-0.0.1 Rakefile