forked from sass/sassc-ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update libsass to master + other fixes
Updates libsass to master ([d225a09a](https://github.com/sass/libsass/tree/d225a09a152050d569c077f97bb944c8dc819d6f)) to incorporate fixes for: 1. The :not selector. Fixes sass#91. sass/libsass#2697 2. Default precision changed to 10. sass/libsass#2716 3. Now builds with `cc` instead of hard-coding `gcc`. sass/libsass#2707 4. Building on Linux and Solaris. sass/libsass#2720 Also: 1. Adds Windows RubyInstaller compilation support via `rake-compiler`. Fixes sass#18. 2. Fixes `load_paths` separator on Windows. Fixes sass#93. 3. Changes the location of `libsass.so` from `ext/` to `lib/`. Fixes sass#95.
- Loading branch information
Showing
12 changed files
with
50 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "ext/libsass"] | ||
path = ext/libsass | ||
url = git://github.com/sass/libsass.git | ||
url = git://github.com/sass/libsass.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# frozen_string_literal: true | ||
|
||
gem_root = File.expand_path('..', __dir__) | ||
libsass_dir = File.join(gem_root, 'ext', 'libsass') | ||
|
||
File.write 'Makefile', <<-MAKEFILE | ||
ifeq (,$(DESTDIR)) | ||
LIBSASS_OUT = #{gem_root}/lib/libsass.so | ||
else | ||
LIBSASS_OUT = $(DESTDIR)$(PREFIX)/libsass.so | ||
endif | ||
SUB_DIR := #{libsass_dir} | ||
SUB_TARGET := lib/libsass.so | ||
libsass.so: #{'clean ' if ENV['CLEAN']}| $(SUB_DIR) | ||
$(MAKE) -C '$(SUB_DIR)' lib/libsass.so | ||
cp '$(SUB_DIR)/lib/libsass.so' libsass.so | ||
install: libsass.so | ||
cp libsass.so '$(LIBSASS_OUT)' | ||
$(SUB_DIR): | ||
cd '#{gem_root}' | ||
git submodule update --init | ||
clean: | $(SUB_DIR) | ||
$(MAKE) -C '$(SUB_DIR)' clean | ||
rm -f '$(LIBSASS_OUT)' libsass.so | ||
.PHONY: clean install | ||
MAKEFILE |
Submodule libsass
updated
82 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters