You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build-on-windows.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@ Both should be considered experimental (MinGW was better tested)!
3
3
4
4
## Building via MingGW (makefiles)
5
5
6
-
First grab the latest [MinGW for windows][1] installer. Once it is installed, you can click on continue or open the Installation Manager via `bin\mingw-get.exe`.
6
+
First grab the latest [MinGW for windows][1] installer. Once it is installed, you can click on continue or open the Installation Manager via `bin\mingw-get.exe`.
7
7
8
8
You need to have the following components installed:
9
9

10
10
11
-
Next we need to install [git for windows][2]. You probably want to check the option to add it to the global path, but you do not need to install the unix tools.
11
+
Next we need to install [git for windows][2]. You probably want to check the option to add it to the global path, but you do not need to install the unix tools.
12
12
13
-
If you want to run the spec test-suite you also need [ruby][3] and a few gems available. Grab the [latest installer][3] and make sure to add it the global path. Then install the missing gems:
13
+
If you want to run the spec test-suite you also need [ruby][3] and a few gems available. Grab the [latest installer][3] and make sure to add it the global path. Then install the missing gems:
Copy file name to clipboardExpand all lines: docs/build.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
`libsass` is only a library and does not do much on its own. You need an implementation that you can use from the [command line][6]. Or some [[bindings|Implementations]] to use it within your favorite programming language. You should be able to get [`sassc`][6] running by following the instructions in this guide.
1
+
`libsass` is only a library and does not do much on its own. You need an implementation that you can use from the [command line][6]. Or some [[bindings|Implementations]] to use it within your favorite programming language. You should be able to get [`sassc`][6] running by following the instructions in this guide.
2
2
3
3
Before starting, see [setup dev environment](setup-environment.md).
4
4
@@ -11,27 +11,27 @@ We try to keep the code as OS independent and standard compliant as possible. Re
11
11
12
12
Linux is the main target for `libsass` and we support two ways to build `libsass` here. The old plain makefiles should still work on most systems (including MinGW), while the autotools build is preferred if you want to create a [system library] (experimental).
13
13
14
-
-[Building with makefiles][1]
15
-
-[Building with autotools][2]
14
+
-[Building with makefiles][1]
15
+
-[Building with autotools][2]
16
16
17
17
### Building on Windows (experimental)
18
18
19
19
Windows build support was added very recently and should be considered experimental. Credits go to @darrenkopp and @am11 for their work on getting `libsass` and `sassc` to compile with visual studio!
20
20
21
-
-[Building with MinGW][3]
22
-
-[Building with Visual Studio][11]
21
+
-[Building with MinGW][3]
22
+
-[Building with Visual Studio][11]
23
23
24
24
### Building on Max OS X (untested)
25
25
26
26
Works the same as on linux, but you can also install LibSass via `homebrew`.
27
27
28
-
-[Building on Mac OS X][10]
28
+
-[Building on Mac OS X][10]
29
29
30
30
### Building a system library (experimental)
31
31
32
32
Since `libsass` is a library, it makes sense to install it as a shared library on your system. On linux this means creating a `.so` library via autotools. This should work pretty well already, but we are not yet committed to keep the ABI 100% stable. This should be the case once we increase the version number for the library to 1.0.0 or higher. On Windows you should be able get a `dll` by creating a shared build with MinGW. There is currently no target in the MSVC project files to do this.
33
33
34
-
-[Building shared system library][4]
34
+
-[Building shared system library][4]
35
35
36
36
Compiling with clang instead of gcc
37
37
--
@@ -46,7 +46,7 @@ export CXX=/usr/bin/clang++
46
46
Running the spec test-suite
47
47
--
48
48
49
-
We constantly and automatically test `libsass` against the official [spec test-suite][5]. To do this we need to have a test-runner (which is written in ruby) and a command-line tool ([`sassc`][6]) to run the tests. Therefore we need to additionally compile `sassc`. To do this, the build files of all three projects need to work together. This may not have the same quality for all build flavors. You definitely need to have ruby (2.1?) installed (version 1.9 seems to cause problems at least on windows). You also need some gems installed:
49
+
We constantly and automatically test `libsass` against the official [spec test-suite][5]. To do this we need to have a test-runner (which is written in ruby) and a command-line tool ([`sassc`][6]) to run the tests. Therefore we need to additionally compile `sassc`. To do this, the build files of all three projects need to work together. This may not have the same quality for all build flavors. You definitely need to have ruby (2.1?) installed (version 1.9 seems to cause problems at least on windows). You also need some gems installed:
50
50
51
51
```bash
52
52
ruby -v
@@ -67,7 +67,7 @@ export LIBSASS_VERSION="x.y.z."
67
67
Continuous Integration
68
68
--
69
69
70
-
We use two CI services to automatically test all commits against the latest [spec test-suite][5].
70
+
We use two CI services to automatically test all commits against the latest [spec test-suite][5].
0 commit comments