-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6535e2f
commit 007b374
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Does NOT work with recent versions of Mono. | ||
|
||
err=0 | ||
trap 'err=1' ERR | ||
|
||
rm -rf cobra | ||
mkdir cobra | ||
cd cobra | ||
curl -sSL http://cobra-language.com/downloads/Cobra-0.9.6.tar.gz \ | ||
| tar xz --strip-components=1 | ||
cd Source | ||
mono Snapshot/cobra.exe -compile -turbo -ert:yes cobra.cobra -files:files-to-compile.text | ||
mono cobra.exe -build-standard-library -debug -turbo -out:Cobra.Core.dll -key-file:Cobra.Core/Cobra.Core.snk Cobra.Core/AssemblyAttrs.cobra | ||
mono cobra.exe -c -t:lib -embed-version -ert:yes -namespace:Cobra.Compiler -files:files-to-compile.text -debug -turbo -out:Cobra.Compiler.dll -key-file:Cobra.Core/Cobra.Core.snk cobra.cobra | ||
mono cobra.exe -c -t:lib -embed-version -debug -turbo -out:Cobra.MSBuild.dll -key-file:Cobra.Core/Cobra.Core.snk Cobra.MSBuild/CobraCompiler.cobra | ||
|
||
exit "$err" |