Closed evalphobia closed 9 years ago
Declaring with just the repository and SHA should work and I just verified it:
[dependencies]
"github.com/awslabs/aws-sdk-go" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"
With your latest contribution on https://github.com/jingweno/nut/pull/18, the above should be working - previously git-clone
downloads the package to the wrong folder so it triggers a go-get
.
Thanks for your confirmation. I checked and fixed this. But I found a problem of import URL, so open another issue.
facts
When no go source files on repository root,
go get
emits an error like below.problems
some repository does not contain any go files on its directory root.
For example: https://github.com/awslabs/aws-sdk-go/
I know this error is from
go get
, but it's difficult and tedious to write each dirs onNut.toml
. Any option or flag to avoid this?thanks,