project-flogo/cli

Error when cross compiling to windows

fcastill opened this issue · 0 comments

I get an error when trying to cross compile to windows from macOS.

I'm running:

❯ GOOS=windows GOARCH=amd64 flogo build
Error: failed to build application, run with --verbose to see details

Running with --verbose flag produces the same error.

After the build command fails I can see an main.exe file in the src folder:

❯ ls src
go.mod     go.sum     imports.go main.exe   main.go