Open illiliti opened 2 years ago
Good idea, thanks. I'll add this for the next release.
PR #299 is one attempt at adding this.
@makeworld-the-better-one has there been any progress on this? Thanks
Nope I haven't made progress on this. It's still something I'd like to do but not a high priority for me. I made a comment in #299, so if someone made a PR that addresses that comment, I might be able to merge it in.
For example, dnscrypt-proxy does this by simply maintaining vendor directory. You can also setup CI to vendor dependencies into release tarball without needing to keep vendor directory within repository. Here is the command that can be used for this:
go mod vendor
With vendored dependencies, i can build amfora from source without internet connection by using this command:
go build -mod=vendor