-
Notifications
You must be signed in to change notification settings - Fork 570
1.0.0.alpha#164 Cannot Run Go Application configuration #1413
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
Comments
Please select the full path to the file not the relative path. |
I just removed the full path to hide the project name. |
What happens if you run |
|
And what if you run |
same output |
Ok, thank you. And the last one: |
|
Ok, thank you. Will try to figure out how to implement building on packages |
Thank you |
@zolotov Just a couple of things to point out here that will surely come up 5 seconds after you release application run configuration :-) The somewhat popular technique/hack for getting multiple executables from a single project will be a bit challenging, but I think there will be high demand. myapp/ main.go - commands/ - cmd1/ main.go - cmd2/ main.go This produces myapp, cmd1, and cmd2 executables when you FWIW, I was kind of picturing something like the Java Application run config where you select a module and pick from a list of scanned main() functions. I think this could possibly cover both file based as well as application run configs with a little forethought. I'm happy to help work through this with you guys. |
@zolotov I think this can be closed as the plugin supports building packages now (it still misses multiple files/directory but the ticket is not about that). |
*** I removed the full paths from screenshots and output below ***
I am unable to run the go application. I can run
go build
from the project directory and it creates a go executable. However I get the below output from the run command. It appears that the plugin is only building the main source file and not the whole directoryThe text was updated successfully, but these errors were encountered: