examples/HelloWorld/build.json
{
"preamble": {
"source": "hw.cpp",
"target": "hw",
"cc": "g++"
},
"build": [
{ "echo": "Compiling Hello World program..." },
{ "exec": "g++ hw.cpp -o hw" },
{ "echo": "Appending to log file..." },
{ "append": "output.log>>Built executable." }
],
"clean": [
{ "echo": "Erasing Hello World program and log file..." },
{ "erasex": "hw" },
{ "erase": "output.log" }
]
}