try to build deps before buildversion

This commit is contained in:
Joey Hess 2019-07-21 17:12:39 -04:00
parent a33324256d
commit 9709beba77
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -63,13 +63,15 @@ stack --version
#stack upgrade --force-download
#stack --version
stack setup
stack build --only-dependencies
# Update version info for git rev being built.
mkdir -p dist
stack ghc --no-haddock Build/BuildVersion.hs
./Build/BuildVersion > dist/build-version
# Build git-annex
stack setup
stack install -j 1 --no-haddock --local-bin-path .
# Build the installer