Skip to content

zessx/sass-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

  • Create all directories
  • Create all files
  • Accept both SASS and SCSS syntaxes
  • Accept both simple and double quotes
  • 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

About

Shell script to build a Sass architecture from a Manifest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages