#!/bin/bash

mono .nuget/NuGet.exe install Paket3 -OutputDirectory packages -Prerelease -ExcludeVersion
exit_code=$?
if [ $exit_code -ne 0 ]; then
	exit $exit_code
fi

mono packages/Paket/tools/Paket.exe install
exit_code=$?
if [ $exit_code -ne 0 ]; then
	exit $exit_code
fi

mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx 
#!/bin/bash

mono .nuget/NuGet.exe install Paket -OutputDirectory packages -Prerelease -ExcludeVersion
if [ $? -ne 0 ]; then
	exit 1
fi

mono packages/Paket/tools/Paket.exe install
if [ $? -ne 0 ]; then
	exit 1
fi

mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx 
Revert "Returning the exit code of the program that failed"
Revert "Returning the exit code of the program that failed"
