mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-24 20:18:16 +00:00
Update build instructions.
This commit is contained in:
14
README.rst
14
README.rst
@@ -29,8 +29,6 @@ Current limitations:
|
||||
|
||||
* debian-installer and translations not supported yet
|
||||
|
||||
Currently aptly is under heavy development, so please use it with care.
|
||||
|
||||
Download
|
||||
--------
|
||||
|
||||
@@ -38,6 +36,16 @@ Binary executables (depends almost only on libc) are available for download from
|
||||
|
||||
If you have Go environment set up, you can build aptly from source by running (go 1.1+ required)::
|
||||
|
||||
go get github.com/smira/aptly
|
||||
go get -u github.com/mattn/gom
|
||||
mkdir -p $GOPATH/src/github.com/smira/aptly
|
||||
git clone https://github.com/smira/aptly $GOPATH/src/github.com/smira/aptly
|
||||
cd $GOPATH/src/github.com/smira/aptly
|
||||
gom install
|
||||
gom build -o $GOPATH/bin/aptly
|
||||
|
||||
Aptly is using `gom <https://github.com/mattn/gom>`_ to fix external dependencies, so regular ``go get github.com/smira/aptly``
|
||||
should work as well, but might fail or produce different result (if external libraries got updated).
|
||||
|
||||
If you don't have Go installed (or older version), you can easily install Go using `gvm <https://github.com/moovweb/gvm/>`_.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user