remove cygwin stuff from this script
cygwin in not needed to build git-annex on windows AFAIK
This commit is contained in:
parent
83997ebf08
commit
663b0353c9
1 changed files with 2 additions and 16 deletions
|
@ -6,25 +6,11 @@ set -x
|
||||||
|
|
||||||
PATH="/c/Program Files/Git/cmd:/c/Program Files/NSIS:$PATH"
|
PATH="/c/Program Files/Git/cmd:/c/Program Files/NSIS:$PATH"
|
||||||
|
|
||||||
# Run a command with the cygwin environment available.
|
|
||||||
# However, programs not from cygwin are preferred.
|
|
||||||
withcyg () {
|
|
||||||
PATH="$PATH:/c/cygwin/bin" "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Prefer programs from cygwin.
|
|
||||||
withcygpreferred () {
|
|
||||||
PATH="/c/cygwin/bin:$PATH" "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Deps are not built with cygwin environment, because we don't want
|
|
||||||
# configure scripts for haskell libraries to link them with the cygwin
|
|
||||||
# libraries.
|
|
||||||
stack setup
|
stack setup
|
||||||
stack build --dependencies-only
|
stack build --dependencies-only
|
||||||
|
|
||||||
# Build git-annex
|
# Build git-annex
|
||||||
withcyg stack build
|
stack build
|
||||||
|
|
||||||
# Build the installer
|
# Build the installer
|
||||||
withcygpreferred stack runghc --package nsis Build/NullSoftInstaller.hs
|
stack runghc --package nsis Build/NullSoftInstaller.hs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue