b0dbb0e888f6c269b4cd8f6ff970a94bfe98ba7d
[sudokuSolver.git] / dependencies.sh
1 #!/usr/bin/env bash
2
3 if [ ! -d .paket ]; then
4 echo "Installing Paket"
5 mkdir .paket
6 curl https://github.com/fsprojects/Paket/releases/download/1.4.0/paket.bootstrapper.exe -L --insecure -o .paket/paket.bootstrapper.exe
7 chmod u+x .paket/paket.bootstrapper.exe
8 .paket/paket.bootstrapper.exe
9 chmod u+x .paket/paket.exe
10 chmod u+x packages/FAKE/tools/FAKE.exe
11 fi
12
13 if [ ! -f paket.lock ]; then
14 echo "Installing dependencies"
15 .paket/paket.exe install
16 else
17 echo "Restoring dependencies"
18 .paket/paket.exe restore
19 fi