X-Git-Url: http://git.euphorik.ch/?p=sudokuSolver.git;a=blobdiff_plain;f=dependencies.sh;fp=dependencies.sh;h=b0dbb0e888f6c269b4cd8f6ff970a94bfe98ba7d;hp=0000000000000000000000000000000000000000;hb=0434576455bb0eb8b7593c892d69fe0cf63a6b20;hpb=93c2731de053d0698800eb8a7ba1a475a38e58cc diff --git a/dependencies.sh b/dependencies.sh new file mode 100755 index 0000000..b0dbb0e --- /dev/null +++ b/dependencies.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +if [ ! -d .paket ]; then + echo "Installing Paket" + mkdir .paket + curl https://github.com/fsprojects/Paket/releases/download/1.4.0/paket.bootstrapper.exe -L --insecure -o .paket/paket.bootstrapper.exe + chmod u+x .paket/paket.bootstrapper.exe + .paket/paket.bootstrapper.exe + chmod u+x .paket/paket.exe + chmod u+x packages/FAKE/tools/FAKE.exe +fi + +if [ ! -f paket.lock ]; then + echo "Installing dependencies" + .paket/paket.exe install +else + echo "Restoring dependencies" + .paket/paket.exe restore +fi