-
-
Notifications
You must be signed in to change notification settings - Fork 197
Fix xcode9 provision, provide --quiet by default, enable -allowProvisioningUpdates #3070
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
3ab47d6
35cfe6b
88f8629
459e8fd
646477e
5742dcd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -447,7 +447,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject | |
| await adb.executeShellCommand(["rm", "-rf", deviceRootPath]); | ||
| } | ||
|
|
||
| public checkForChanges(changesInfo: IProjectChangesInfo, options: IProjectChangesOptions, projectData: IProjectData): void { | ||
| public async checkForChanges(changesInfo: IProjectChangesInfo, options: IProjectChangesOptions, projectData: IProjectData): Promise<void> { | ||
| // Nothing android specific to check yet. | ||
| } | ||
|
|
||
|
|
@@ -517,12 +517,18 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject | |
| if (this.$androidToolsInfo.getToolsInfo().androidHomeEnvVar) { | ||
| const gradlew = this.$hostInfo.isWindows ? "gradlew.bat" : "./gradlew"; | ||
|
|
||
| const localArgs = [...gradleArgs]; | ||
| if (this.$logger.getLevel() === "INFO") { | ||
| localArgs.push("--quiet"); | ||
| this.$logger.info(`${gradlew} ${localArgs.join(" ")}`); | ||
|
||
| } | ||
|
|
||
| childProcessOpts = childProcessOpts || {}; | ||
| childProcessOpts.cwd = childProcessOpts.cwd || projectRoot; | ||
| childProcessOpts.stdio = childProcessOpts.stdio || "inherit"; | ||
|
|
||
| return await this.spawn(gradlew, | ||
| gradleArgs, | ||
| localArgs, | ||
| childProcessOpts, | ||
| spawnFromEventOptions); | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use
$loggingLevels.infohere instead of a stringThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep it this way,
$loggingLevelshas a different purpose. I'll handle the logging levels in a separate PR and will change this code with a constant in it.