pascalabcnet/_RebuildReleaseAndRunTests.sh

44 lines
1.3 KiB
Bash
Raw Normal View History

2015-12-29 17:56:29 +03:00
#!/bin/sh
2015-12-29 20:36:47 +03:00
MONO_IOMAP=case xbuild /p:Configuration=release pabcnetc.sln
MONO_IOMAP=case xbuild /p:Configuration=release CodeCompletion/CodeCompletion.csproj
mono --aot pabcnetc.exe
mono --aot NETGenerator.dll
mono --aot TreeConverter.dll
mono --aot Compiler.dll
mono --aot SyntaxTree.dll
mono --aot SemanticTree.dll
mono --aot PascalABCParser.dll
mono --aot ParserTools.dll
mono --aot CompilerTools.dll
mono --aot OptimizerConversion.dll
mono --aot Errors.dll
2015-12-29 17:56:29 +03:00
export MONO_IOMAP=all
cd ReleaseGenerators
mono ../bin/pabcnetc.exe RebuildStandartModules.pas /rebuild
if [ $? -eq 0 ]; then
cd PABCRtl
mono ../../bin/pabcnetc.exe PABCRtl.pas /rebuild
if [ $? -eq 0 ]; then
sn -Vr PABCRtl.dll
sn -R PABCRtl.dll KeyPair.snk
sn -Vu PABCRtl.dll
cp PABCRtl.dll ../../bin/Lib
mono ../../bin/pabcnetc.exe PABCRtl32.pas /rebuild
if [ $? -eq 0 ]; then
sn -Vr PABCRtl32.dll
sn -R PABCRtl32.dll KeyPair32.snk
sn -Vu PABCRtl32.dll
cp PABCRtl32.dll ../../bin/Lib
gacutil -u PABCRtl
2015-12-29 20:36:47 +03:00
gacutil -i ../../bin/Lib/PABCRtl.dll
cd ..
2015-12-29 17:56:29 +03:00
mono ../bin/pabcnetc.exe RebuildStandartModules.pas /rebuild
if [ $? -eq 0 ]; then
cd ../bin
mono TestRunner.exe
cd ..
fi
fi
fi
2015-12-29 20:36:47 +03:00
fi