forked from pascalabcnet/pascalabcnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_RebuildReleaseAndRunTests.sh
More file actions
31 lines (30 loc) · 1000 Bytes
/
_RebuildReleaseAndRunTests.sh
File metadata and controls
31 lines (30 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/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
cd ReleaseGenerators
mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild
# /rebuild здесь пока нельзя
mono ../bin/pabcnetc RebuildStandartModulesSPython.pas
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
cd ../TestSuite
mono ../bin/TestRunner.exe
cd ../TestSuiteAdditionalLanguages/SPythonTests
mono ../../bin/TestRunner.exe
cd ../..
fi
fi