Skip to content

Build script iteration 2#4

Merged
mhils merged 2 commits intomhils:masterfrom
TBBle:build-script-iteration-2
Feb 11, 2017
Merged

Build script iteration 2#4
mhils merged 2 commits intomhils:masterfrom
TBBle:build-script-iteration-2

Conversation

@TBBle
Copy link
Copy Markdown
Contributor

@TBBle TBBle commented Feb 11, 2017

Experimenting further with the combination of #2 and #3 showed that Pscx doesn't hook cd when installed with -scope CurrentUser.

Instead, we can avoid the directory stack entirely.

Pscx redirects 'cd' to Set-LocationEx, which tracks a stack of
directories, and we don't need that here.
Rather than deleting all files and letting 'git reset' bring them back,
we can use 'git clean' to remove all untracked files and directories,
and then 'git reset' only needs to replace modified files.

This is a *lot* faster, particularly for libxml2.
@TBBle TBBle force-pushed the build-script-iteration-2 branch from 3635965 to f906695 Compare February 11, 2017 18:11
@TBBle TBBle mentioned this pull request Feb 11, 2017
@mhils
Copy link
Copy Markdown
Owner

mhils commented Feb 11, 2017

Nice, thanks!

@mhils mhils merged commit ae6c3fe into mhils:master Feb 11, 2017
@TBBle TBBle deleted the build-script-iteration-2 branch February 12, 2017 05:14
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.

2 participants