https://github.com/zessx/sass-init
Shell script to build a Sass architecture from a Manifest.
https://github.com/zessx/sass-init
Last synced: 10 months ago
JSON representation
Shell script to build a Sass architecture from a Manifest.
- Host: GitHub
- URL: https://github.com/zessx/sass-init
- Owner: zessx
- License: mit
- Created: 2015-01-20T10:45:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-20T12:50:30.000Z (over 11 years ago)
- Last Synced: 2025-06-10T10:49:49.032Z (about 1 year ago)
- Language: Shell
- Size: 301 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sass-init
Shell script to build a Sass architecture from a Manifest.
## How to use it?
First, you should have a Sass manifest file, let's say `main.scss`.
You then simply have to call `sass-init` on this file to generate your Sass architecture:
$ ./sass-init.sh main.scss
`sass-init` comes with two available options:
- file extension (`scss` by default, can be `sass`)
- optional underscore prefix (`prefix` by default, can be `no-prefix`)
$ ./sass-init.sh main.scss sass
$ ./sass-init.sh main.scss scss no-prefix
$ ./sass-init.sh main.scss sass no-prefix
## Features
- [x] Create all directories
- [x] Create all files
- [x] Accept both SASS and SCSS syntaxes
- [x] Accept both simple and double quotes
- [x] Reject comment lines
- [ ] Accept lines with extension already specified
- [ ] Accept parameters in any order
## Notes
> Windows users: be sure your shell script use Unix line endings