Add new Go modules stuff

This commit is contained in:
Andrey Smirnov authored and Andrey Smirnov committed 2019-09-27 13:59:19 +03:00
1 parent 0146411483
commit 19db62d74f
6 files changed
+172 -10

No files matched your search

+5 -3
View File
@@ -84,10 +84,8 @@ to prepend it or to skip this test if you're security conscious.
### Forking and Cloning
As Go is using repository path in import paths, it's better to clone aptly repo (not your fork) at default location:
As aptly is using Go modules, aptly repository could be cloned to any location on the file system:
mkdir -p ~/go/src/github.com/aptly-dev
cd ~/go/src/github.com/aptly-dev
git clone git@github.com:aptly-dev/aptly.git
cd aptly
@@ -108,6 +106,10 @@ You would need some additional tools and Python virtual environment to run tests
This is usually one-time action.
Aptly is using Go modules to manage dependencies, download modules using:
make modules
### Building
If you want to build aptly binary from your current source tree, run: