Skip to content

Commit

Permalink
asconfigc: allow unpackage-anes option for release builds
Browse files Browse the repository at this point in the history
vscode-as3mxml doesn't set it, but if someone wants to run it from the command line, they can
  • Loading branch information
joshtynjala committed Jan 22, 2025
1 parent 62b8313 commit 6eedf25
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions asconfigc/src/main/java/com/as3mxml/asconfigc/ASConfigC.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static void main(String[] args) {
storepassOption.setOptionalArg(true);
options.addOption(storepassOption);
Option unpackageOption = new Option(null, "unpackage-anes", true,
"Unpackage native extensions to the output directory when creating a debug build for the Adobe AIR simulator.");
"Unpackage native extensions to the output directory for the Adobe AIR simulator.");
unpackageOption.setArgName("true OR false");
unpackageOption.setOptionalArg(true);
options.addOption(unpackageOption);
Expand Down Expand Up @@ -1178,10 +1178,6 @@ private void prepareNativeExtensions() throws ASConfigCException {
// don't copy anything if it's not requested.
return;
}
if (!debugBuild) {
// don't copy anything when it's a release build.
return;
}
if (compilerOptionsJSON == null) {
// the compilerOptions field is not defined, so there's nothing to copy
return;
Expand Down

0 comments on commit 6eedf25

Please sign in to comment.