This is a repo with classes that permity easily specify the build of a project in abl.
using classes.ablc.* from propath.
define variable compilerObject as ABLCompiler.
compilerObject = new ABLCompiler().
compilerObject
:addSourceDirectory("C:\temp")
// ... many other source directories
:addTargetDirectory("C:\temp\results")
// ... many other target directories
:compile().
In simple words, it runs periodically the compile
method
with an specified compiler. In other words, use as example
the compiler object defined above:
// ...
define variable compilerService as ABLCompilerService.
compilerService = new ABLCompilerService(compilerObject).
compilerService
:setInterval(5) // calls compilerObject:compile() every 5 seconds
:startService().
You can install the cli in your computer running the script install-ablc.
After that, in the cmd or powershell the command ablc
must be available in your computer.
Check that typing the following command to display the ablc
help:
> ablc -h