You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
You can do this currently just my creating a directory containing a single go file. Or, if hello.go is the only go file in directory, just calling gox will working.
The reason it doesn't make sense to point to a single source file is that go build working with packages, and packages can contain multiple source files.
Yup, that was fixed in issue #4 . This was then raised as a separate issue since go build can be run on an individual file, and I think it would be useful in places.
Well I'm totally wrong. I didn't think go build worked on single files. I
now agree this is something that should work
On Dec 7, 2013 7:07 PM, "sathishvj" [email protected] wrote:
Yup, that was fixed in issue #4#4. This was then raised as a separate issue since go
build can be run on an individual file, and I think it would be useful in
places.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-30073900
.
It would be a nice to give a single target go file and have it built for multiple platforms.
E.g. gox hello.go
Output: an executable in all conceivable platforms.
The text was updated successfully, but these errors were encountered: