pascalabcnet/_RebuildReleaseAndRunTests.sh

28 lines
795 B
Bash
Raw Normal View History

#!/bin/sh -e
dotnet build -c Release --no-incremental pabcnetc.sln
dotnet build -c Release --no-incremental PascalABCNETLinux.sln
mono --aot bin/pabcnetc.exe
mono --aot bin/NETGenerator.dll
mono --aot bin/TreeConverter.dll
mono --aot bin/Compiler.dll
mono --aot bin/SyntaxTree.dll
mono --aot bin/SemanticTree.dll
mono --aot bin/PascalABCParser.dll
mono --aot bin/ParserTools.dll
mono --aot bin/CompilerTools.dll
mono --aot bin/OptimizerConversion.dll
mono --aot bin/Errors.dll
mono --aot bin/LanguageIntegrator.dll
mono --aot bin/StringConstants.dll
mono --aot bin/PascalABCLanguageInfo.dll
2015-12-29 17:56:29 +03:00
cd ReleaseGenerators
mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild
2015-12-29 17:56:29 +03:00
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
cd ../bin
mono TestRunner.exe
cd ..
2015-12-29 17:56:29 +03:00
fi
2015-12-29 20:36:47 +03:00
fi