Skip to content
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

Add showEnvVars to build scripts #351

Merged
merged 1 commit into from
Jul 22, 2018
Merged

Add showEnvVars to build scripts #351

merged 1 commit into from
Jul 22, 2018

Conversation

keith
Copy link
Collaborator

@keith keith commented Jul 19, 2018

This allows us to disable printing the environment in build logs.

FR_783122899910 /* App_iOS_Tests.xctest */,
FR_123503999387 /* App_iOS_UITests.xctest */,
FR_825232110500 /* App_iOS.app */,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming this was out of date?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it seems since #316, tests haven't been failing properly on CI.
That means the required fixture changes weren't reported as a failure as part of #341.

The test framework has been fixed, and this file has been update in master now 👍

Copy link
Collaborator

@brentleyjones brentleyjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor doc change recommendations. 👍

CHANGELOG.md Outdated
@@ -1,6 +1,7 @@
# Change Log

## Master
- Added `showEnvVars` to build scripts to disable printing the environment [351](https://github.com/yonaskolb/XcodeGen/pull/351) @keith
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be under an #### Added section?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -353,6 +353,7 @@ Run script build phases added via **prebuildScripts** or **postBuildScripts**. T
- [ ] **outputFiles**: **[String]** - list of output files
- [ ] **shell**: **String** - shell used for the script. Defaults to `/bin/sh`
- [ ] **runOnlyWhenInstalling**: **Bool** - whether the script is only run when installing (`runOnlyForDeploymentPostprocessing`). Defaults to no
- [ ] **showEnvVars**: **Bool** - whether the environment variables accessible to the script show be printed to the build log. Defaults to yes
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To mirror the dialog, should this be placed above runOnlyWhenInstalling?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

This allows us to disable printing the environment in build logs.
Copy link
Owner

@yonaskolb yonaskolb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @keith!

@yonaskolb yonaskolb merged commit a43a960 into master Jul 22, 2018
@yonaskolb yonaskolb deleted the ks/show-env branch July 22, 2018 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants