-
Notifications
You must be signed in to change notification settings - Fork 70
allow usage of multiple gopaths #138
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
Conversation
.travis.yml
Outdated
|
||
env: | ||
- DBNAME=kallax_test DBUSER=postgres DBPASS='' | ||
- GOPATH=$GOPATH:/tmp/whatever |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Invert order.
path = filepath.ToSlash(path) | ||
return strings.Replace(path, importPath, "", -1) | ||
for _, p := range parseutil.DefaultGoPath { | ||
p = filepath.ToSlash(p + "/src/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Join?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Join will strip the last "/", which we want to replace later.
738a73d
to
c8fb010
Compare
Amended with the change, @Serabe |
c8fb010
to
b0b0b26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov Report
@@ Coverage Diff @@
## master #138 +/- ##
==========================================
- Coverage 80.39% 80.29% -0.11%
==========================================
Files 15 15
Lines 2790 2796 +6
==========================================
+ Hits 2243 2245 +2
- Misses 375 378 +3
- Partials 172 173 +1
Continue to review full report at Codecov.
|
Fixes #123
Requires src-d/go-parse-utils#8