Skip to content

Commit

Permalink
Allow -unpackage-anes for release builds
Browse files Browse the repository at this point in the history
If someone really wants that, I don't see why it should be restricted to debug builds only.
  • Loading branch information
joshtynjala committed Jan 22, 2025
1 parent 63761c2 commit c0d8fe3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ASConfigC.as
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ package
console.info(" --debug=true, --debug=false Specify debug or release mode. Overrides the debug compiler option, if specified in asconfig.json.");
console.info(" --air PLATFORM Package the project as an Adobe AIR application. The allowed platforms include `android`, `ios`, `windows`, `mac`, `bundle`, and `air`.");
console.info(" --storepass PASSWORD The password used when signing and packaging an Adobe AIR application. If not specified, prompts for the password.");
console.info(" --unpackage-anes Unpackage native extensions to the output directory when creating a debug build for the Adobe AIR simulator.");
console.info(" --unpackage-anes Unpackage native extensions to the output directory for the Adobe AIR simulator.");
console.info(" --animate FILE Specify the path to the Adobe Animate executable.");
console.info(" --publish-animate Publish Adobe Animate document, instead of only exporting the SWF.");
console.info(" --clean Clean the output directory. Will not build the project.");
Expand Down Expand Up @@ -1754,11 +1754,6 @@ package
//don't copy anything if it's not requested.
return;
}
if(!this._debugBuild)
{
//don't copy anything when it's a release build.
return;
}
if(this._compilerOptionsJSON === null)
{
//the compilerOptions field is not defined, so there's nothing to copy
Expand Down

0 comments on commit c0d8fe3

Please sign in to comment.