-
Notifications
You must be signed in to change notification settings - Fork 9
add go module support #50
base: master
Are you sure you want to change the base?
add go module support #50
Conversation
LGTM bug @magik6k is the expert here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (the whole golang target could use some cleanup, but that's out of scope here)
(you can test this by copying golang pipeline code into |
Can we merge this so that libp2p/go-libp2p-kad-dht#236 can go in too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh dear, I hate Groovy but this looks sane. I suggest we take it for a spin in libp2p/go-libp2p-kad-dht#236 as @magik6k suggests.
bat 'gx --verbose install --global' | ||
bat 'gx-go rewrite' | ||
} else { | ||
bat 'go mod download' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: our gomod path triggers whenever the user provides a value for dep
and iff the value is anything other than gx
, not necessarily go-mod
as the README.md suggests.
Can this be merged? |
Not sure how to actually go about testing this PR. Happy to do it with some guidance.