Skip to content

Commit

Permalink
Paket magic mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-tihon committed May 12, 2017
1 parent 1dab4f9 commit 246e930
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 21 deletions.
Binary file removed .paket/paket.bootstrapper.exe
Binary file not shown.
Binary file added .paket/paket.exe
Binary file not shown.
5 changes: 0 additions & 5 deletions build.cmd
@@ -1,11 +1,6 @@
@echo off
cls

.paket\paket.bootstrapper.exe
if errorlevel 1 (
exit /b %errorlevel%
)

.paket\paket.exe restore
if errorlevel 1 (
exit /b %errorlevel%
Expand Down
19 changes: 3 additions & 16 deletions build.sh
Expand Up @@ -2,37 +2,24 @@
if test "$OS" = "Windows_NT"
then
# use .Net

.paket/paket.bootstrapper.exe
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi

.paket/paket.exe restore
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi
packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx

packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx
else
# use mono

which mono
find /usr/lib/mono

mono .paket/paket.bootstrapper.exe
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi

mono .paket/paket.exe restore
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi

mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx
mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx
fi

0 comments on commit 246e930

Please sign in to comment.