distmaker - Don't require dummy config file for building Joomla
authorTim Otten <totten@civicrm.org>
Mon, 11 Jan 2021 00:29:26 +0000 (16:29 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 11 Jan 2021 00:29:26 +0000 (16:29 -0800)
commite7ee9c40cde73d2006d3032d6634ef45de8f65ac
tree9d4e33e7f11db97aca4ce0e524a05bcf1d473f2f
parent771a26f14ee4e89c29033b42eeffdab04ebfe04f
distmaker - Don't require dummy config file for building Joomla

BEFORE: To run distmaker and produce Joomla ZIPs, you need to create a dummy settings file.
For example, this is how `cividist` does it:

https://github.com/civicrm/civicrm-buildkit/blob/v19.07.0/bin/cividist#L119-L121

It seems that is just a long-winded way of setting up the Civi classloader. (It wouldn't
make sense to use any other Civi services this is a pre-bootstrap environment.)

AFTER: The dummy file is neither needed nor used. We just get the classloader directly.
distmaker/utils/joomlaxml.php