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

Fix formatting #61

Merged
merged 2 commits into from
Dec 8, 2017
Merged

Fix formatting #61

merged 2 commits into from
Dec 8, 2017

Conversation

perlun
Copy link
Member

@perlun perlun commented Dec 3, 2017

I had some spare time while waiting for a CEF/Chromium build (...) so I fixed this. As a side effect of the change, I also removed the debug building completely - it just takes time, we don't use the resulting artifacts anyway. So it makes more sense to only build Release builds of this repo.

Closes #60

I had some spare time while waiting for a CEF/Chromium build (...) so I fixed this. As a side effect of the change, I also removed the debug building completely - it just takes time, we don't use the resulting artifacts anyway. So it makes more sense to _only_ build Release builds of this repo.

Closes #60
@AppVeyorBot
Copy link

@AppVeyorBot
Copy link

@perlun perlun requested a review from merceyz December 5, 2017 09:59
@perlun
Copy link
Member Author

perlun commented Dec 5, 2017

r? @merceyz

Copy link
Member

@merceyz merceyz left a comment

Choose a reason for hiding this comment

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

Looks good

@amaitland amaitland self-requested a review December 7, 2017 04:07
Copy link
Member

@amaitland amaitland left a comment

Choose a reason for hiding this comment

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

Formatting changes should be in a separate commit to the functional changes that have been made.

appveyor.yml Outdated
@@ -5,9 +5,6 @@ version: 62.0.0-CI{build}

shallow_clone: true

# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: true
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason you've removed this? How are you going to handle the version conflicts?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for asking! Yes, there is a reason, it was discussed in #56.

(Short answer: We want to always run the AppVeyor builds on each PR, to ensure that the project still builds with each change. Ideally, the MyGet files should only be pushed whenever a tag had been added, though. I think this can be done, but I'm not 100% sure of how yet.)

Will revert this part of the change since, as you say, it is not a "formatting change" only.

build.ps1 Outdated
Warn "Toolchain $Toolchain is not installed on your development machine, skipping build."
Return
}

Write-Diagnostic "Starting to build targeting toolchain $Toolchain"

Msvs "$Toolchain" 'Debug' 'x86'
Copy link
Member

Choose a reason for hiding this comment

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

From memory they're currently required for a debug build of CefSharp, are you sure this is wise?

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right here also. I thought it wasn't needed, but it very much is (since the /MTd etc flags need to match for the C++ projects.)

Will revert this also.

@perlun
Copy link
Member Author

perlun commented Dec 7, 2017

@amaitland Thanks for the constructive feedback. You are right, it's much better to segregate changes instead of messing it up like this, my bad.

Please re-check at your convenience, the PR should be much better now.

@amaitland amaitland merged commit a5fd9a6 into master Dec 8, 2017
@perlun perlun deleted the fix/indentation branch December 8, 2017 07:32
@perlun
Copy link
Member Author

perlun commented Dec 8, 2017

Thanks for the review & approval @amaitland, appreciated! I moved the discussion around the functional changes to #63, so we can get them incorporated also in a proper manner.

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.

build.ps1: Clean up formatting
4 participants