Skip to content

Commit

Permalink
Merge branch 'Issue-308-firebase-module-support' into Issue-271-swift…
Browse files Browse the repository at this point in the history
…-compilation-support
  • Loading branch information
britzl committed Oct 20, 2023
2 parents ac47a40 + 5e721bc commit 943825f
Show file tree
Hide file tree
Showing 5 changed files with 566 additions and 74 deletions.
5 changes: 4 additions & 1 deletion server/src/main/java/com/defold/extender/AsyncBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public class AsyncBuilder {
private long resultLifetime;
private boolean keepJobDirectory = false;

private static final String DM_DEBUG_JOB_FOLDER = System.getenv("DM_DEBUG_JOB_FOLDER");
private static final String DM_DEBUG_KEEP_JOB_FOLDER = System.getenv("DM_DEBUG_KEEP_JOB_FOLDER");

public AsyncBuilder(DefoldSdkService defoldSdkService,
DataCacheService dataCacheService,
GradleService gradleService,
Expand All @@ -48,7 +51,7 @@ public AsyncBuilder(DefoldSdkService defoldSdkService,
this.gradleService = gradleService;
this.cocoaPodsService = cocoaPodsService;
this.jobResultLocation = new File(jobResultLocation);
this.keepJobDirectory = System.getenv("DM_DEBUG_KEEP_JOB_FOLDER") != null && System.getenv("DM_DEBUG_JOB_FOLDER") == null;
this.keepJobDirectory = (DM_DEBUG_KEEP_JOB_FOLDER != null) || (DM_DEBUG_JOB_FOLDER != null);
this.resultLifetime = jobResultLifetime;
}

Expand Down
Loading

0 comments on commit 943825f

Please sign in to comment.