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 code and tests on windows. #23

Merged
merged 1 commit into from
Sep 24, 2016
Merged

Fix code and tests on windows. #23

merged 1 commit into from
Sep 24, 2016

Conversation

sgotti
Copy link
Owner

@sgotti sgotti commented Sep 23, 2016

Given that I absolutely don't care about windows, this fixes code and tests on
it.

PR #21 tried to set the PATH env var in an unix like way with the effect of
disabling the go test execution.

This patch:

  • Fixes PATH env to add $GOPATH/bin
  • Fixes isParentDirectory
  • Fixes TestGetLastVendorPath and TestIsParentDirectory
  • Handles missing error check on glide list execution

/cc @Fugiman

Given that I absolutely don't care about windows, this fixes code and tests on
it.

PR #21 tried to set the PATH env var in an unix like way with the effect of
disabling the go test execution without an error code.

This patch:

* Fixes PATH env to add $GOPATH/bin
* Fixes isParentDirectory
* Fixes TestGetLastVendorPath and TestIsParentDirectory
* Handles missing error check on `glide list` execution
@sgotti sgotti changed the title Fix tests on windows. Fix code and tests on windows. Sep 23, 2016
@FugiTech
Copy link
Contributor

Oops, sorry about that. LGTM!

@sgotti
Copy link
Owner Author

sgotti commented Sep 24, 2016

@Fugiman Thanks and don't worry. It's a mess handling different path separators between package paths and os paths. Merging.

@sgotti sgotti merged commit 4ef50a8 into master Sep 24, 2016
@sgotti sgotti modified the milestone: v0.1.0 Sep 25, 2016
@sgotti sgotti deleted the fix_test_on_windows branch September 25, 2016 08:47
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