Skip to content

Instantly share code, notes, and snippets.

@jamiecook
Created November 25, 2015 07:08
Show Gist options
  • Save jamiecook/e6ce9387d0ed9efdf6c4 to your computer and use it in GitHub Desktop.
Save jamiecook/e6ce9387d0ed9efdf6c4 to your computer and use it in GitHub Desktop.
echo off
if exist d:\bdk\bedrock\lib\OtCustomZenith\zenith-cpp_%1 (
echo "File exists, skipping build and just running the test"
) else (
echo "File doesn't exist, trying to build it"
git checkout %1
rake build_quick
mkdir d:\bdk\bedrock\lib\OtCustomZenith\zenith-cpp_%1
if exist d:\bdk\bedrock\lib\OtCustomZenith.so (
move d:\bdk\bedrock\lib\OtCustomZenith.so d:\bdk\bedrock\lib\OtCustomZenith\zenith-cpp_%1
)
if exist d:\bdk\bedrock\lib\OtCustomZenith\freshly_built\OtCustomZenith.so (
move d:\bdk\bedrock\lib\OtCustomZenith\freshly_built\OtCustomZenith.so d:\bdk\bedrock\lib\OtCustomZenith\zenith-cpp_%1
)
if exist d:\bdk\bedrock\lib\OtCustomZenith\OtCustomZenith.so (
move d:\bdk\bedrock\lib\OtCustomZenith\OtCustomZenith.so d:\bdk\bedrock\lib\OtCustomZenith\zenith-cpp_%1
)
copy d:\bdk\bedrock\lib\OtCustomZenith.so d:\bdk\bedrock\lib\OtCustomZenith\zenith-cpp_%1
)
set MODEL_VERSION=zenith-cpp_%1
set BDK_SPEC_DIR=d:\bdk\spec
set GEM_HOME=d:\bdk\bedrock\vendor
set OT=d:\ot\61
set BDK=d:\bdk
set BEDROCK=d:\bdk\bedrock
D:\OT\61\Ruby\bin\ruby.exe -Ku -Id:\bdk\bedrock\app -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) D:\ot\61\plugin\rb\VlcInitialize.rb D:/BDK/spec/BedrockTestProject/jobs/Tests/ModelRunTest1/Assignment_test.rb --name=test_assignment --workingdirectory=d:\bdk\spec\EmptyProject\Import --parent=d:\ot\61\omnitrans.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment