rename clone_and_build.sh to lazy.sh

refs #35
This commit is contained in:
Christian Schwarz 2017-11-18 17:02:11 +01:00
parent 445a280aa2
commit b4b1bebb5c
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ Otherwise, the examples in the :ref:`tutorial` may need to be adjusted.
::
curl 'https://raw.githubusercontent.com/zrepl/zrepl/master/clone_and_build.sh' | sh
curl 'https://raw.githubusercontent.com/zrepl/zrepl/master/lazy.sh' | sh
You can also build in a Docker container if you want an isolated build environment or don't have a compatible Go version.
@ -67,9 +67,9 @@ You can also build in a Docker container if you want an isolated build environme
sudo docker run -it --rm \
-v "${PWD}:/zrepl" \
--user "$(id -u):$(id -g)" \
golang:latest bash -c 'export CLONEPATH=/go/src/github.com/zrepl; mkdir -p "$CLONEPATH" && ln -s /zrepl $CLONEPATH/zrepl && ${CLONEPATH}/zrepl/clone_and_build.sh'
golang:latest bash -c 'export CLONEPATH=/go/src/github.com/zrepl; mkdir -p "$CLONEPATH" && ln -s /zrepl $CLONEPATH/zrepl && ${CLONEPATH}/zrepl/lazy.sh'
.. literalinclude:: ../clone_and_build.sh
.. literalinclude:: ../lazy.sh
:language: sh