- Template: those file or resource will be used in multi projects and products as base component to build thing.
- Layout: those file or resource specify, construct your final product. It belong to only one product.
- Work: this is your final product those files is built by using (Template->Layout)
- jscraft <template_dir> <layout_dir> <work_dir>
- The building process begins by read layout.json file in your layout directory in which each build step contain instruction to build one file or copy folder. See test/layout_1/layout.json
{
"target":"work://script.js",
"from":"layout://script.js"
}
- just run maintain.sh and reload your terminal.