forked from connamara/quickfixn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sh versions of bat scripts for mono (experimental)
- Loading branch information
Showing
2 changed files
with
32 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,13 @@ | ||
#!/bin/sh | ||
|
||
TARGET=$1 | ||
CONFIGURATION=$2 | ||
NET_VERSION=$3 | ||
|
||
[ -z $TARGET ] && TARGET=Rebuild | ||
[ -z $CONFIGURATION ] && CONFIGURATION=Release | ||
[ -z $NET_VERSION ] && NET_VERSION=v3.5 | ||
|
||
BUILD_CMD="xbuild QuickFIXn.sln /t:${TARGET} /p:Configuration=${CONFIGURATION};TargetFrameworkVersion=${NET_VERSION}" | ||
echo "Build command: $BUILD_CMD" | ||
exec $BUILD_CMD |
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 | ||
# | ||
# Arguments will be passed to nunit-console, so you can do things like: | ||
# ./unit_test.sh -run=UnitTests.SessionScheduleTests | ||
# | ||
|
||
RESULT=0 | ||
|
||
set +e | ||
|
||
pushd UnitTests/bin/Release/ | ||
rm -rf TestResult.xml UnitTests.html | ||
nunit-console UnitTests.dll $@ | ||
RESULT=$? | ||
xsltproc -o UnitTests.html ../../nunit.xsl TestResult.xml | ||
popd | ||
|
||
exit $RESULT | ||
|