Skip to content

Commit e01edc2

Browse files
committed
Update to latest libsass release (3.3.0-beta1)
- Implement native operations for sass values - Add missing `source-map-root` context option - Move from `Module::Build` to `ExtUtils::MakeMaker`
1 parent eeecd4e commit e01edc2

27 files changed

+9022
-468
lines changed

.gitignore

+19-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Makefile
33
Makefile.old
44
Build
55
Build.bat
6-
META.*
7-
MYMETA.*
86
.build/
97
_build/
108
cover_db/
@@ -27,3 +25,22 @@ lib/CSS/Sass.exp
2725
lib/CSS/Sass.lds
2826
.libsass.version
2927
*~
28+
/libsass.*
29+
/MYMETA.*
30+
/*.c
31+
/*.o
32+
/*.old
33+
/*.bs
34+
/*.def
35+
/*.bac
36+
/*.bak
37+
/*.exp
38+
/*.base
39+
/*.scss
40+
/*.sass
41+
/*.css
42+
/*.log
43+
/*.gcda
44+
/*.gcno
45+
46+
/.sass-cache

.travis.yml

+18-22
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
11
language: perl
2+
sudo: false
3+
24
compiler:
35
- clang
46
- gcc
7+
58
perl:
6-
- "5.20"
7-
- "5.18"
8-
- "5.16"
9-
- "5.14"
10-
- "5.12"
9+
- "5.20"
10+
- "5.18"
11+
- "5.16"
12+
- "5.14"
13+
- "5.12"
1114

12-
before_install:
13-
- git submodule update --init --recursive
1415
install:
15-
# Deal with dependencies
16-
- cpanm -n File::Slurp
17-
- cpanm -n File::chdir
18-
- cpanm -n Devel::Cover
19-
# - cpanm --quiet --installdeps --notest .
20-
- cpanm -n Devel::Cover::Report::Coveralls
21-
before_script:
22-
# initialize libsass, sass2scss and sass-spec
23-
# - git submodule update --init --recursive
16+
# Deal with dependencies
17+
- cpanm --installdeps --verbose .
18+
- cpanm -n Devel::Cover
19+
- cpanm -n Devel::Cover::Report::Coveralls
2420
script:
25-
- perl Build.PL cover=1
26-
- ./Build verbose=1
27-
- HARNESS_PERL_SWITCHES=-MDevel::Cover ./Build test verbose=1
28-
- ./Build install verbose=1
21+
- perl Makefile.PL --profiling
22+
- make -j5
23+
- HARNESS_PERL_SWITCHES=-MDevel::Cover make test
24+
- make install
2925
after_success:
30-
- find -name *.gcda -type f -exec gcov-4.8 -abc -o `basename {}` {} \;
31-
- cover -gcov -report coveralls -ignore_re "^/usr" -ignore_re "^libsass"
26+
- find -name *.gcda -type f -exec gcov-4.8 -abc -o `basename {}` {} \;
27+
- cover -gcov -report coveralls -ignore_re "^/usr" -ignore_re "^libsass"

Build.PL

-223
This file was deleted.

Changes

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
CSS::Sass (3.3.0-rc1)
2+
3+
* Update to latest libsass release (3.3.0-rc1)
4+
* Implement native operations for sass values
5+
* Add missing `source-map-root` context option
6+
* Move build to more portable ExtUtils::MakeMaker
7+
18
CSS::Sass (3.2.2)
29

310
* Update to latest libsass release (3.2.4)

META.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"abstract" : "Compile .scss files using libsass",
3+
"author" : [
4+
"Marcel Greter <[email protected]>"
5+
],
6+
"dynamic_config" : 1,
7+
"generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.143240",
8+
"license" : [
9+
"mit"
10+
],
11+
"meta-spec" : {
12+
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
13+
"version" : "2"
14+
},
15+
"name" : "CSS-Sass",
16+
"no_index" : {
17+
"directory" : [
18+
"t",
19+
"inc"
20+
]
21+
},
22+
"prereqs" : {
23+
"build" : {
24+
"requires" : {
25+
"ExtUtils::CppGuess" : "0.09",
26+
"ExtUtils::MakeMaker" : "6.52",
27+
"File::chdir" : "0.01",
28+
"Getopt::Long" : "0.01"
29+
}
30+
},
31+
"configure" : {
32+
"requires" : {
33+
"ExtUtils::CppGuess" : "0.09",
34+
"ExtUtils::MakeMaker" : "6.52",
35+
"Getopt::Long" : "0.01"
36+
}
37+
},
38+
"runtime" : {
39+
"requires" : {
40+
"Carp" : "1.01",
41+
"perl" : "5.008",
42+
"strict" : "0",
43+
"version" : "0",
44+
"warnings" : "0"
45+
}
46+
}
47+
},
48+
"release_status" : "testing",
49+
"resources" : {
50+
"bugtracker" : {
51+
"web" : "https://github.com/sass/perl-libsass/issues"
52+
},
53+
"homepage" : "https://metacpan.org/release/CSS-Sass",
54+
"license" : [
55+
"http://opensource.org/licenses/MIT"
56+
],
57+
"repository" : {
58+
"url" : "https://github.com/sass/perl-libsass"
59+
}
60+
},
61+
"version" : "v3.3.0_01"
62+
}

0 commit comments

Comments
 (0)