Friday, August 25, 2017
CBF meets Ctools Installer
CBF meets Ctools Installer
Ctools-installer and CBF are very useful projects that usually go hand in hand. And if youve been using them for a while you probably thought "why cant CBF just call ctools installer instead of having to pass the parameters manually?"
Well, Andrea Torre went ahead and sent us a patch to allow exactly that.
There are a few new targets in CBF:
ctools-installer Install ctools (prompts for modules)
ctools-installer-auto Install ctools silently
The difference between them is obvious - one does an automated install (passing the -y flag) while the other prompts for which plugins to install.
All you need is to call this target. Heres an example:
ant -Dproject=demo -Denv=pedro ctools-installerWe can control the behavior of this feature. Its possible to specify which branch to install (defaults to stable branch) and specify if you want ctools-installer to run after a CBF build:
ctools.install = true
ctools.branch = dev
Ty it and let us know. You need to upgrade your ctools-installer script (just run it and it will auto upgrade)
On an also important note, CBF is now also on github.