summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-26 11:34:14 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-26 11:34:14 -0400
commitf4cef3ca6cdf8d7da0952951a9bc91b3db29a93a (patch)
tree312d2a5ba05c7faf654628c1a901c5359718e7c9
parent1d519fc105b5ffabe7ae3ebd8b81e0ab604d61f3 (diff)
improve cleanup
-rwxr-xr-xstandalone/windows/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index 895b74525..b871ad832 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -31,6 +31,8 @@ export UPGRADE_LOCATION
# Don't allow build artifact from a past successful build to be extracted
# if we fail.
rm -f git-annex-installer.exe
+rm -f git-annex.exe
+rm -rf dist
# Get extra programs to bundle with git-annex.
# These are msys2 programs, from https://msys2.github.io/.
@@ -66,7 +68,6 @@ withcygpreferred stack ghc --stack-yaml stack-windows.yaml --no-haddock \
--package nsis Build/NullSoftInstaller.hs
./Build/NullSoftInstaller
-rm -f dist/build-version
mkdir -p dist
stack ghc --stack-yaml stack-windows.yaml --no-haddock Build/BuildVersion.hs
./Build/BuildVersion > dist/build-version