Add new Go modules stuff

This commit is contained in:
Andrey Smirnov
2019-09-27 00:49:56 +03:00
committed by Andrey Smirnov
parent 0146411483
commit 19db62d74f
6 changed files with 172 additions and 10 deletions

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: