Refactor ncc extension registration logic, this also allows for debian packages to install the ncc extension automatically.
The logic related to the registration of the ncc extension has been refactored. Previously, the code that registered the ncc extension was contained in the installer. However, this change moves the code that registers the ncc extension from the installer to the Utilities/Functions class. This change was made because the extension registration is not only applicable to the installer, but is also required for several other components. This fact justified the need for the logic to be located in a more generic and accessible class. The Makefile, installer, generate_build_files.php files have been updated to reflect this change. Components using these should now work properly with the changes.
This commit is contained in:
parent
89b0c931b9
commit
71214e769e
6 changed files with 64 additions and 80 deletions
1
Makefile
1
Makefile
|
@ -76,7 +76,6 @@ redist: autoload
|
|||
cp -f $(CONFIG_PATH)/ncc.yaml $(GENERIC_BUILD_PATH)/CLI/template_config.yaml
|
||||
cp -f $(CONFIG_PATH)/default_repositories.json $(GENERIC_BUILD_PATH)/default_repositories.json
|
||||
cp -f $(INSTALLER_SRC_PATH)/ncc-package.xml $(GENERIC_BUILD_PATH)/ncc-package.xml
|
||||
cp -f $(INSTALLER_SRC_PATH)/extension $(GENERIC_BUILD_PATH)/extension
|
||||
chmod +x $(GENERIC_BUILD_PATH)/INSTALL
|
||||
cp -f LICENSE $(GENERIC_BUILD_PATH)/LICENSE
|
||||
cp -f README.md $(GENERIC_BUILD_PATH)/README.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue