From af232223ee4c7f5f34e9f21c5bec683b4c417d12 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 29 Oct 2018 15:48:04 +0100 Subject: [PATCH] windows build script: add note to build from fresh clone --- contrib/build-wine/docker/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/contrib/build-wine/docker/README.md b/contrib/build-wine/docker/README.md index 0df96ea5a..aba87018f 100644 --- a/contrib/build-wine/docker/README.md +++ b/contrib/build-wine/docker/README.md @@ -27,6 +27,19 @@ folder. 3. Build Windows binaries + It's recommended to build from a fresh clone + (but you can skip this if reproducibility is not necessary). + + ``` + $ FRESH_CLONE=contrib/build-wine/fresh_clone && \ + rm -rf $FRESH_CLONE && \ + mkdir -p $FRESH_CLONE && \ + cd $FRESH_CLONE && \ + git clone https://github.com/spesmilo/electrum.git && \ + cd electrum + ``` + + And then build from this directory: ``` $ git checkout $REV $ sudo docker run \