MFA Baybars
Member
I added the following content to the src\addons\AAA\BBB\_build\build.json file directory.
When I run the php cmd.php xf-addon:build-release AAA/BBB command, the _build\build.json folder and file are deleted. The js folder and files are not included in the Release zip archive.
I am performing this operation via localhost xampp terminal. Am I doing something wrong or is there a problem or method that I don't know about?
I followed the steps here: https://xenforo.com/docs/dev/development-tools/#building-an-add-on-release
When I run the php cmd.php xf-addon:build-release AAA/BBB command, the _build\build.json folder and file are deleted. The js folder and files are not included in the Release zip archive.
I am performing this operation via localhost xampp terminal. Am I doing something wrong or is there a problem or method that I don't know about?
Code:
{
"additional_files": [
"js/AAA/BBB"
],
"minify": [
"js/AAA/BBB/aa_nn_aaaaa_aaa_abc.js",
"js/AAA/BBB/aa_bb_aaaab_cde.js",
"js/AAA/BBB/aa_bb_aaaac_efg.js"
],
"exec": [
"echo '{title} version {version_string} ({version_id}) has been built successfully!' > 'src/addons/AAA/BBB/_build/built.txt'"
]
}
I followed the steps here: https://xenforo.com/docs/dev/development-tools/#building-an-add-on-release