Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Delete bundled sass in haml 3.1 #27

Merged
merged 1 commit into from

2 participants

@richmeyers

Haml separated sass into its own project in 3.1. For compatibility reasons haml 3.1 still bundles sass, in a vendor dir, and uses it if there is no sass installed globally.

Since rpg does not install vendor dirs, this fallback does not work.

Additionally, rpg cannot have multiple packages owning the same file (#26). The only solution is to remove everything sass-related from haml.

Haml says they will no longer bundle sass in 3.2, therefore the removal is implemented for 3.1.x only.

@rtomayko rtomayko merged commit 43effa8 into rtomayko:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 17, 2011
  1. @richmeyers
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 0 deletions.
  1. +8 −0 rpg-shit-list.sh
View
8 rpg-shit-list.sh
@@ -37,6 +37,14 @@ haml)
s/File.read(scope('REVISION'))/'$revision'/g
s/File.read(scope('VERSION_NAME'))/'$vername'/g
" lib/haml/version.rb
+
+ case "$version" in
+ 3.1.*)
+ fixable "haml 3.1.x bundles sass"
+ cd "$path"
+ rm -r lib/sass lib/sass.rb
+ ;;
+ esac
;;
json|json_pure)
Something went wrong with that request. Please try again.