Extending the SpeedyMake Program with new commands

To extend Speedy Make you have to add some code in the source and compile it again. This requires just one command:

solc -bre smake

The Scriptol-C++ compiler must be downloaded and installed. You can found it at this address:

Adding a command

Search for the makeInternalCommand in the smake.sol source file.
The function holds this code:

if comm
= "display":
   commName.push("display")
   commData.push((purgeTabs(content))
/if
You have just to add an entry.
For example, the command name is: "mycommand".
if comm
 = "display": 
     ...
 = "mycommand":
    mycommand()     // calling your function
/if
You have also to create a function and define it before the makeInternalCommand function. For example:
void mycommand()
   ... some code...
return