aboutsummaryrefslogtreecommitdiff
path: root/mono/buildall.sh
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2011-05-20 11:11:01 -0500
committerrogerk <devnull@localhost>2011-05-20 11:11:01 -0500
commit5a80c378421d3a3cd4f19efcbafd9eaae089c3e9 (patch)
treeea6e8659f2bf38b63d021431eadf54648405aaa1 /mono/buildall.sh
parentd6405f8308465b9eb3d127919b737f443e109387 (diff)
downloadprotobuf-5a80c378421d3a3cd4f19efcbafd9eaae089c3e9.tar.gz
protobuf-5a80c378421d3a3cd4f19efcbafd9eaae089c3e9.tar.bz2
protobuf-5a80c378421d3a3cd4f19efcbafd9eaae089c3e9.zip
Moved key file to /keys directory
Diffstat (limited to 'mono/buildall.sh')
-rwxr-xr-xmono/buildall.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/mono/buildall.sh b/mono/buildall.sh
index 4a70834d..bdd0490b 100755
--- a/mono/buildall.sh
+++ b/mono/buildall.sh
@@ -9,6 +9,7 @@ NUNIT_OPTIONS=-noshadow
SRC=../src
LIB=../lib
+KEYFILE=../keys/Google.ProtocolBuffers.snk
rm -rf bin
mkdir bin
@@ -18,19 +19,19 @@ mkdir bin
cp -f $LIB/{Rhino.Mocks.dll,nunit.framework.dll} bin
echo Building main library
-gmcs -target:library -out:bin/Google.ProtocolBuffers.dll `find $SRC/ProtocolBuffers -name '*.cs'` -keyfile:$SRC/ProtocolBuffers/Properties/Google.ProtocolBuffers.snk
+gmcs -target:library -out:bin/Google.ProtocolBuffers.dll `find $SRC/ProtocolBuffers -name '*.cs'` -keyfile:$KEYFILE
echo Building main library tests
-gmcs -target:library -out:bin/Google.ProtocolBuffers.Test.dll `find $SRC/ProtocolBuffers.Test -name '*.cs'` -keyfile:$SRC/ProtocolBuffers.Test/Properties/Google.ProtocolBuffers.Test.snk -r:bin/Google.ProtocolBuffers.dll -r:$LIB/nunit.framework.dll -r:$LIB/Rhino.Mocks.dll
+gmcs -target:library -out:bin/Google.ProtocolBuffers.Test.dll `find $SRC/ProtocolBuffers.Test -name '*.cs'` -keyfile:$KEYFILE -r:bin/Google.ProtocolBuffers.dll -r:$LIB/nunit.framework.dll -r:$LIB/Rhino.Mocks.dll
echo Running main library tests
mono $NUNIT bin/Google.ProtocolBuffers.Test.dll $NUNIT_OPTIONS
echo Building ProtoGen
-gmcs -target:exe -out:bin/ProtoGen.exe `find $SRC/ProtoGen -name '*.cs'` -keyfile:$SRC/ProtoGen/Properties/Google.ProtocolBuffers.ProtoGen.snk -r:bin/Google.ProtocolBuffers.dll
+gmcs -target:exe -out:bin/ProtoGen.exe `find $SRC/ProtoGen -name '*.cs'` -keyfile:$KEYFILE -r:bin/Google.ProtocolBuffers.dll
echo Building ProtoGen tests
-gmcs -target:library -out:bin/Google.ProtocolBuffers.ProtoGen.Test.dll `find $SRC/ProtoGen.Test -name '*.cs'` -keyfile:$SRC/ProtoGen.Test/Properties/Google.ProtocolBuffers.ProtoGen.Test.snk -r:bin/Google.ProtocolBuffers.dll -r:$LIB/nunit.framework.dll -r:bin/ProtoGen.exe
+gmcs -target:library -out:bin/Google.ProtocolBuffers.ProtoGen.Test.dll `find $SRC/ProtoGen.Test -name '*.cs'` -keyfile:$KEYFILE -r:bin/Google.ProtocolBuffers.dll -r:$LIB/nunit.framework.dll -r:bin/ProtoGen.exe
echo Running ProtoGen tests
mono $NUNIT bin/Google.ProtocolBuffers.ProtoGen.Test.dll $NUNIT_OPTIONS