Created
July 15, 2014 19:01
-
-
Save caindy/d0d70f5d098bc8c65cfa to your computer and use it in GitHub Desktop.
Attempting to define symbol MONO using FAKE fsiargs in bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
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 --fsiargs build.fsx -d:MONO $@ |
From --version
FakePath: /Users/ca/Code/FSharp.ProjectScaffold/packages/FAKE/tools/FakeLib.dll
FAKE - F# Make "3.2.0"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The MONO symbol isn't defined when build.fsx is executed