Sha256: 8d40a8067bcfdf150cfc611ca8d00c6475401ae7b344096cb50f43395b0a4833
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
namespace :libsass do desc "Compile libsass" task compile: "ext/libsass/lib/libsass.so" file "ext/libsass/.git" do sh "git submodule update --init" end file "ext/libsass/lib/libsass.so" => "ext/libsass/.git" do libsass_path = "" if Dir.pwd.end_with?('/ext') libsass_path = "libsass" else libsass_path = "ext/libsass" end cd libsass_path do sh 'make lib/libsass.so LDFLAGS="-Wall -O2"' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sassc-1.4.0 | lib/tasks/libsass.rb |
sassc-1.3.0 | lib/tasks/libsass.rb |