diff options
author | Jon Skeet <skeet@pobox.com> | 2009-06-25 09:30:14 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2009-06-25 09:30:14 +0100 |
commit | a22663eda972668c9618989de2f564a13ef825ab (patch) | |
tree | 70baf298b188a366a4d290ace34749f75a677a1a /mono/buildall.sh | |
parent | b2526215e107f64c66804403667aabaa042a67db (diff) | |
download | protobuf-a22663eda972668c9618989de2f564a13ef825ab.tar.gz protobuf-a22663eda972668c9618989de2f564a13ef825ab.tar.bz2 protobuf-a22663eda972668c9618989de2f564a13ef825ab.zip |
Initial mono build scripts
Diffstat (limited to 'mono/buildall.sh')
-rwxr-xr-x | mono/buildall.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mono/buildall.sh b/mono/buildall.sh new file mode 100755 index 00000000..3518ce85 --- /dev/null +++ b/mono/buildall.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +export SRC=../src +export LIB=../lib + +echo Building main library +gmcs -target:library -out:Google.ProtocolBuffers.dll `find $SRC/ProtocolBuffers -name '*.cs'` -keyfile:$SRC/ProtocolBuffers/Properties/Google.ProtocolBuffers.snk + +echo Building main library tests +gmcs -target:library -out:Google.ProtocolBuffers.Test.dll `find $SRC/ProtocolBuffers.Test -name '*.cs'` -keyfile:$SRC/ProtocolBuffers.Test/Properties/Google.ProtocolBuffers.Test.snk -r:Google.ProtocolBuffers.dll -r:$LIB/nunit.framework.dll -r:$LIB/Rhino.Mocks.dll + +echo Running main library tests +mono ~/protobuf/NUnit-2.5.0.9122/bin/net-2.0/nunit-console.exe Google.ProtocolBuffers.Test.dll -noshadow + +echo Building ProtoGen +gmcs -target:exe -out:ProtoGen.exe `find $SRC/ProtoGen -name '*.cs'` -keyfile:$SRC/ProtoGen/Properties/Google.ProtocolBuffers.ProtoGen.snk -r:Google.ProtocolBuffers.dll + +echo Building ProtoGen tests +gmcs -target:library -out:Google.ProtocolBuffers.ProtoGen.Test.dll `find $SRC/ProtoGen.Test -name '*.cs'` -keyfile:$SRC/ProtoGen.Test/Properties/Google.ProtocolBuffers.ProtoGen.Test.snk -r:Google.ProtocolBuffers.dll -r:$LIB/nunit.framework.dll -r:ProtoGen.exe + +echo Running ProtoGen tests +mono ~/protobuf/NUnit-2.5.0.9122/bin/net-2.0/nunit-console.exe Google.ProtocolBuffers.ProtoGen.Test.dll -noshadow + |