-
Notifications
You must be signed in to change notification settings - Fork 231
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
Go 1.11 compatibility #218
Conversation
@@ -3,7 +3,7 @@ package main | |||
import ( | |||
"bytes" | |||
"errors" | |||
"github.com/oxequa/realize/realize" | |||
"github.com/divoxx/realize/realize" |
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.
This needs to be updated prior to merge, if to be merged.
@@ -8,8 +8,8 @@ import ( | |||
"strings" | |||
"time" | |||
|
|||
"github.com/divoxx/realize/realize" |
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.
This needs to be updated prior to merge, if to be merged.
Any news on this, @asoseil? |
seems like project has been abandoned |
Looks like the project is abandoned yes. I have started a fork here https://github.com/erikdubbelboer/realize with all the pull requests that look good such as this one merged. |
REVERT pull request oxequa#218
With go 1.11, the project's folder does not need to match the application name or import path anymore. The current version uses the path basename as the application name, which causes
--run
to fail to run the application with aproject not found
error.This PR changes
run
to usego list
to get the import path and then extract the name of the application from it.