mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
Add new Go modules stuff
This commit is contained in:
committed by
Andrey Smirnov
parent
0146411483
commit
19db62d74f
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user