https://github.com/libhide/sass-struct
A shell script that creates a folder structure for yo' Sass.
https://github.com/libhide/sass-struct
Last synced: 8 months ago
JSON representation
A shell script that creates a folder structure for yo' Sass.
- Host: GitHub
- URL: https://github.com/libhide/sass-struct
- Owner: libhide
- License: mit
- Created: 2015-06-23T16:52:12.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-23T19:08:07.000Z (almost 11 years ago)
- Last Synced: 2025-04-04T15:39:50.804Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 133 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Sass-Struct
-----------
## Why?
While searching the web for best-practices regarding Sass project structures, I stumbled upon one which I really liked. Now, none of us want to sit and create the same file structure again and again everytime we pick up a new front-end project, right? Automation to the rescue! This is why I wrote this script.
You can read more about the Sass folder structure I refer to here: http://www.sitepoint.com/architecture-sass-project/
## Bonus
The script also asks the users if they want to install **Bourbon**[1] and **Neat**[2] along with the whole structure generation. This will obviously only work if you have the respective gems installed.
[1] https://github.com/thoughtbot/bourbon
[2] https://github.com/thoughtbot/neat
## Usage
+ Clone the repo onto your computer.
+ Copy the 'sass.sh' file to a location where you you want to the sass structure generated (for instance, the assets folder)
+ **cd** into the location where you placed the script and run:
```Bash
./sass.sh
```
+ A 'sass' directory will be created for you with the folder structure and imports. Sass-away!