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
The name of the executable will be godbledger, not reporter
sean@sean-B550-AORUS-PRO-AX:~/godbledger/build/dist/linux-386/github.com/darcys22$ ls
godbledger-linux-386
It looks like the cause of this is in the build.sh where $NAME is changed if $USEMODULES = true
# Configure some global build parameters
NAME=`basename $1/$PACK`
# Go module-based builds error with 'cannot find main module'
# when $PACK is defined
if [[ "$USEMODULES" = true ]]; then
NAME=`sed -n 's/module\ \(.*\)/\1/p' /source/go.mod`
fi
Unsure if I am using xgo incorrectly here (or even the modules structure tbh) but the readme makes it look like this should be the name of the executable
The text was updated successfully, but these errors were encountered:
My project defines the module in go.mod
and I have subdirectories for each executable
When running xgo like this to build each executable using the
--pkg
parameter:The name of the executable will be godbledger, not reporter
It looks like the cause of this is in the
build.sh
where$NAME
is changed if$USEMODULES = true
Unsure if I am using xgo incorrectly here (or even the modules structure tbh) but the readme makes it look like this should be the name of the executable
The text was updated successfully, but these errors were encountered: