Skip to content

Commit 2a9af13

Browse files
committed
Initial Commit
Initial Commit
1 parent a98c29b commit 2a9af13

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed

SASS-SCSS-Build.sublime-build

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"cmd": [
3+
"sass", "--update", "--watch", "$file:${file_path}/../${file_base_name}.css", "--sourcemap=none", "--stop-on-error", "--no-cache", "--style", "expanded",
4+
"&",
5+
"sass", "--update", "$file:${file_path}/../${file_base_name}.min.css", "--stop-on-error", "--no-cache", "--style", "compressed"
6+
],
7+
8+
"selector": "source.sass, source.scss",
9+
"line_regex": "Line ([0-9]+):",
10+
11+
"osx":{"path": "/usr/local/bin:$PATH"},
12+
"windows":{"shell": "true"}
13+
}

licence.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Copyright (c) 2015, Hendrik Schuster
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7+
8+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9+
10+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

readme.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
SASS Build Script for Sublime Text 3
2+
====================================
3+
4+
Author
5+
------
6+
7+
Created by **Hendrik Schuster** ([@journal.deviantdev.com](http://www.journal.deviantdev.com)).
8+
Corresponding [journal entry](http://www.journal.deviantdev.com/sublime-text-build-system-sass)
9+
10+
License: [BSD 2 Licence](http://opensource.org/licenses/BSD-2-Clause)
11+
12+
Description and Usage
13+
-----------
14+
15+
Provides a working build script for SASS and SCSS files. This Build script will generate a uncompressed refernece file and a minified working file with a sourcemap. It is recommended to remove the sourcemap link and file for deployment, because it is not needed and a extra file to load.
16+
17+
After installing you will find a new option in `Tools > Build system`: **SASS - Build**. This build script will be used as default for your `.scss` and `.sass` files.
18+
19+
To change the default folder of your generated CSS you can edit the build like follow (saving your CSS files into a `css` folder:):
20+
`[...], "$file:${file_path}/../css/${file_base_name}.css"], [...]`
21+
22+
Requirements
23+
-------------
24+
25+
Requires **Ruby** and **SASS** installed as command line tools.
26+
27+
1. Install Ruby library
28+
29+
**OS X and Linux**: It's already installed. Easy! :)
30+
31+
**Windows**: Download Ruby. Install Ruby using the option *Add Ruby executables to your PATH*. Reboot after install it.
32+
33+
2. Installing SASS
34+
35+
Open your console and execute `gem install sass` as command
36+
37+
38+
Installing
39+
-------------
40+
41+
Download the latzest zip or clone the project from the [Github](https://github.com/DeviantDev-Dev/xxx) repository. Move the files into a new folder named like `SASS-Build` in your Sublime Text "Packages" folder.
42+
43+
Thanksgivings
44+
----------------
45+
46+
Thanks to the former work of **Jaume Fontal** ([Github](https://github.com/jaumefontal/SASS-Build-SublimeText2)).
47+

0 commit comments

Comments
 (0)