https://github.com/zessx/sass-compile
Shell script to easily compile Sass with a few default options.
https://github.com/zessx/sass-compile
Last synced: 9 months ago
JSON representation
Shell script to easily compile Sass with a few default options.
- Host: GitHub
- URL: https://github.com/zessx/sass-compile
- Owner: zessx
- License: mit
- Created: 2015-01-28T13:33:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-28T14:22:02.000Z (over 11 years ago)
- Last Synced: 2025-02-26T14:24:10.230Z (over 1 year ago)
- Language: Shell
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sass-compile
Shell script to easily compile Sass with a few default options.
## How to use it?
`sass-compile` comes with a few default options:
- `--stop-on-error`
- `--no-cache`
- `--sourcemap=none`
You simply have to pass your input and your output files to `sass-compile`, with an optional debug flag:
$ sass-compile main.scss main.css
$ sass-compile main.scss main.css -d
$ sass-compile main.scss main.css --debug
`sass-compile` will generate both a `nested` and a `compressed` version of your file (with a `.min.css` extension for the second one).
## Notes
> Windows users: be sure your shell script use Unix line endings