lib/tasks/libsass.rb in sassc-1.4.0 vs lib/tasks/libsass.rb in sassc-1.5.0

- old
+ new

@@ -1,13 +1,13 @@ namespace :libsass do desc "Compile libsass" task compile: "ext/libsass/lib/libsass.so" - file "ext/libsass/.git" do + file "ext/libsass/Makefile" do sh "git submodule update --init" end - file "ext/libsass/lib/libsass.so" => "ext/libsass/.git" do + file "ext/libsass/lib/libsass.so" => "ext/libsass/Makefile" do libsass_path = "" if Dir.pwd.end_with?('/ext') libsass_path = "libsass" else libsass_path = "ext/libsass"