663b0353c9
cygwin in not needed to build git-annex on windows AFAIK
16 lines
297 B
Bash
Executable file
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
|