Skip to content

Commit

Permalink
updated build shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
caindy committed Jul 14, 2014
1 parent 563991e commit 02f5a82
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
#!/bin/bash
mono .nuget/NuGet.exe install FAKE -OutputDirectory packages -ExcludeVersion
export MONO=mono

if [ ! -e packages/FAKE/tools/FAKE.exe ]; then
mono .nuget/NuGet.exe install FAKE -OutputDirectory packages -ExcludeVersion
fi
if [ ! -e packages/SourceLink.Fake/Tools/Fake.fsx ]; then
mono .nuget/NuGet.exe install SourceLink.Fake -OutputDirectory packages -ExcludeVersion
fi

if [ ! -e build.fsx ]; then
fsharpi init.fsx
fi

#workaround assembly resolution issues in build.fsx
mono packages/FAKE/tools/FAKE.exe build.fsx $@
mono packages/FAKE/tools/FAKE.exe --fsiargs -d:MONO build.fsx $@

0 comments on commit 02f5a82

Please sign in to comment.