git-annex/standalone/windows/build-simple.sh
Joey Hess 663b0353c9
remove cygwin stuff from this script
cygwin in not needed to build git-annex on windows AFAIK
2019-07-22 09:28:00 -04:00

16 lines
297 B
Bash
Executable file

#!/bin/sh
# Script to build git-annex on windows. Run by build.bat
set -e
set -x
PATH="/c/Program Files/Git/cmd:/c/Program Files/NSIS:$PATH"
stack setup
stack build --dependencies-only
# Build git-annex
stack build
# Build the installer
stack runghc --package nsis Build/NullSoftInstaller.hs