git-annex/standalone/windows/build-simple.sh

17 lines
297 B
Bash
Raw Normal View History

2013-12-05 20:40:28 -04:00
#!/bin/sh
# Script to build git-annex on windows. Run by build.bat
set -e
2013-12-05 21:02:27 -04:00
set -x
2013-12-05 20:40:28 -04:00
2015-09-01 15:05:15 -07:00
PATH="/c/Program Files/Git/cmd:/c/Program Files/NSIS:$PATH"
2013-12-05 20:40:28 -04:00
stack setup
stack build --dependencies-only
2013-12-05 20:40:28 -04:00
# Build git-annex
stack build
2013-12-10 00:45:21 -04:00
# Build the installer
stack runghc --package nsis Build/NullSoftInstaller.hs