A front-end seed with Sass, Handlebars and a Make build system.
- asdf (optional)
- asdf-nodejs (optional)
- Node.js (6.9.0 recommended)
- SassC
- Handlebars (4.0.5 recommended)
Modify the Makefile
accordingly to your needs. A lot of things can be customized.
make init
Creates the source folder tree. Defaults to:
.
├── src
│ ├── css # Sass files
│ ├── deps
│ ├── img
│ ├── js
│ ├── templates # Handlebars files
└── ...
make
Compiles the.scss
and.handlebars
files, and copies assets to generate the build. Defaults to this folder tree:
.
├── build
│ ├── css # CSS files
│ ├── deps
│ ├── img
│ ├── js
│ ├── templates # Handlebars files
└── ...
make clean
Deletes the build.make rebuild
Deletes the build and regenerates it.make copy
Copies assets from selected folders to the build.make sass
Compiles Sass files to CSS.
- make install
- make help
- make handlebars