© 2015 BLACKTREES
Jidōka
command line build tool for sass, coffescript, javascript, css, html and plaintext files.
Install
pip install jidoka
Usage
Watch and rebuild files on change.
jidoka watch
Run project build.
jidoka build
Create sample configuration.
jidoka init
Templates
Include other files
...inc other/file.css...
Configuration
If you need more complex rules, like in the example below. Create a "jidoka.json" in the project directory.
If a "file" is specified. Only this one will be build. Otherwise every one that match the "watch" criteria.
{
"config" : {
"output_suffix": "min",
"exclude" : ["./libs/*"],
},
"jobs" : [
{
"type" : "sass",
"files" : ["./framework.scss"],
"watch" : "./framework/*.scss"
},
{
"type" : "sass",
"compress" : true,
"files" : ["./layout.scss"],
"watch" : ["./layout.scss","./framework.sass"]
},
{
"type" : "coffeescript",
"files" : ["./script.coffee"],
"watch" : ["*.coffee"]
},
{
"type" : "javascript",
"watch" : ["*.js"]
},
]
}