gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.08k stars 579 forks source link

I can't cross compile to linux #2386

Closed adeolaibigbemi closed 10 months ago

adeolaibigbemi commented 1 year ago

Description

I am building a buffalo project on windows. I am trying to cross compile the project to linux.

I have set all the needed env variables for linux. see attached image.

image

The problem is that I get a .exe file when I compile and this is not usable on linux.

Am I doing anything wrong?

Please help.

To Reproduce

No response

Additional Context

Details

``` Paste the output of `buffalo info` here! ```
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.

vadviktor commented 1 year ago

I believe this has been answered in Slack: https://gophers.slack.com/archives/C3MSAFD40/p1697996217777509

The issue @adeolaibigbemi had was that on Windows you have to be very specific with the file extensions. The executables must be have least .exe.

TBH it has caught me out also at least once 😄

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.

github-actions[bot] commented 10 months ago

This issue was closed because it has been stalled for 30+7 days with no activity.