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

Handle new gyp information for electron builds #1623

Merged
merged 1 commit into from
Feb 8, 2019

Conversation

implausible
Copy link
Member

Since Electron is now at version >4, the iojs qualifier on the version number in the folder name for node headers stored in ~/.node-gyp is no longer appended. This is because iojs and node merged at node v4. So that's the reason the <4 electron headers had iojs appended onto their header folder name. Now we need to support >4.

I tried messing about a bit with the exported config.gypi that is provided in the electron headers, but it doesn't seem to be included from the start :(. In lieu of going back to some sort of pangyp again, I've just parsed the config.gypi with json5 and am hoping for the best. We'll probably be back here in a year or 2 going, why? Why?!

@implausible implausible merged commit 299414f into nodegit:master Feb 8, 2019
@implausible implausible deleted the fix/electron-4-builds branch February 8, 2019 03:05
implausible added a commit that referenced this pull request Feb 11, 2019
Back port #1623 and #1626
implausible added a commit that referenced this pull request Feb 11, 2019
Back port #1623 and #1626
implausible added a commit that referenced this pull request Feb 11, 2019
Back port #1623 and #1626
implausible added a commit that referenced this pull request Feb 11, 2019
Back port #1623 and #1626
implausible added a commit that referenced this pull request Feb 12, 2019
Back port #1623 and #1626
implausible added a commit that referenced this pull request Feb 12, 2019
Back port #1623 and #1626
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

1 participant