Skip to content

Commit b296880

Browse files
committed
Merge pull request #42 from am11/rewrite-new-api
LibSass.net rewrite
2 parents e2adf61 + 5c867e9 commit b296880

File tree

131 files changed

+3564
-1916
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+3564
-1916
lines changed

.editorconfig

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# editorconfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Default settings:
7+
# A newline ending every file
8+
# Use 4 spaces as indentation
9+
[*]
10+
insert_final_newline = true
11+
indent_style = space
12+
indent_size = 4
13+
end_of_line = crlf
14+
15+
# Code files
16+
[*.{cshtml, c, cpp, cs, h, hpp}]
17+
curly_bracket_next_line = true
18+
indent_brace_style = Allman
19+
[*.cs]
20+
indent_style = space
21+
indent_size = 4
22+
[*.{js, json}]
23+
indent_size = 2
24+
25+
# Configuration files
26+
[*.{xml, stylecop, resx, ruleset, props, targets, config, nuspec, csproj, vcxproj, vcxproj.filters, proj, nativeproj, locproj, json, yaml, yml}]
27+
indent_size = 2
28+
29+
# Shell scripts
30+
[*.sh]
31+
end_of_line = lf

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
33

4+
*.sass text eol=lf
5+
*.scss text eol=lf
6+
*.svg text eol=lf
7+
48
# Custom for Visual Studio
59
*.cs diff=csharp
610
*.sln merge=union

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
# mstest test results
66
TestResults
7+
**/Fixtures/output/**
78

89
## Ignore Visual Studio temporary files, build results, and
910
## files generated by popular Visual Studio add-ons.
@@ -33,6 +34,7 @@ x64/
3334
*.tlh
3435
*.tmp
3536
*.log
37+
*.vs
3638
*.vspscc
3739
*.vssscc
3840
.builds
@@ -41,6 +43,7 @@ x64/
4143
ipch/
4244
*.aps
4345
*.ncb
46+
*.opendb
4447
*.opensdf
4548
*.sdf
4649

@@ -89,10 +92,7 @@ csx
8992
AppPackages/
9093

9194
# Others
92-
[Bb]in
93-
[Oo]bj
9495
sql
95-
TestResults
9696
[Tt]est[Rr]esult*
9797
*.Cache
9898
ClientBin

.gitmodules

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
[submodule "libsass/native"]
2-
path = libsass/native
3-
url = https://github.com/sass/libsass.git
1+
[submodule "tests/sass-spec"]
2+
path = LibSass.NET.Tests/Fixtures/sass-spec
3+
url = https://github.com/sass/sass-spec
4+
branch = master
5+
[submodule "libsass"]
6+
path = LibSass
7+
url = https://github.com/sass/libsass
8+
branch = master

LibSass

Submodule LibSass added at 34bcd3f

LibSass.NET.Tests.runsettings

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RunSettings>
3+
<!-- Configurations that affect the Test Framework -->
4+
<RunConfiguration>
5+
<!-- [x86] | x64
6+
- You can also change it from menu Test, Test Settings, Default Processor Architecture -->
7+
<TargetPlatform>x64</TargetPlatform>
8+
</RunConfiguration>
9+
</RunSettings>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
body {
2+
color: crimson; }
3+
body .container {
4+
float: left; }
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
body {
2+
color: crimson;
3+
4+
.container {
5+
float: left;
6+
}
7+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.foo{rest:0}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.foo {
2+
rest: 0; }
3+
4+
.car {
5+
rest: 0; }
6+
7+
.bar {
8+
rest: 0; }
9+
10+
.jar {
11+
rest: 0; }

0 commit comments

Comments
 (0)