Fixed Linux build and runtime
https://github.com/pascalabcnet/pascalabcnet/issues/1812
This commit is contained in:
parent
39f3d28e47
commit
7acf77bcc7
|
|
@ -130,8 +130,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\configuration\globalassemblyinfo.cs">
|
||||
<Link>Config\globalassemblyinfo.cs</Link>
|
||||
<Compile Include="..\Configuration\GlobalAssemblyInfo.cs">
|
||||
<Link>Config\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Config\AssemblyInfo.cs" />
|
||||
<Compile Include="NETGenegratorTools.cs" />
|
||||
|
|
@ -169,4 +169,4 @@
|
|||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
<Compile Include="ParserTools\DefaultLanguageInformation.cs" />
|
||||
<Compile Include="ParserTools\Errors.cs" />
|
||||
<Compile Include="ParserTools\IPreprocessor.cs" />
|
||||
<Compile Include="ParserTools\Keyword.cs" />
|
||||
<Compile Include="ParserTools\KeyWord.cs" />
|
||||
<Compile Include="ParserTools\LanguageInformation.cs" />
|
||||
<Compile Include="ParserTools\ParserTools.cs" />
|
||||
<Compile Include="ParserTools\SourceContextMap.cs" />
|
||||
|
|
@ -115,11 +115,11 @@
|
|||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
MONO_IOMAP=case xbuild /p:Configuration=release pabcnetc.sln
|
||||
MONO_IOMAP=case xbuild /p:Configuration=release CodeCompletion/CodeCompletion.csproj
|
||||
MONO_IOMAP=case msbuild /p:Configuration=release pabcnetc.sln
|
||||
MONO_IOMAP=case msbuild /p:Configuration=release CodeCompletion/CodeCompletion.csproj
|
||||
mono --aot bin/pabcnetc.exe
|
||||
mono --aot bin/NETGenerator.dll
|
||||
mono --aot bin/TreeConverter.dll
|
||||
|
|
|
|||
0
bin/pabcnetc
Normal file → Executable file
0
bin/pabcnetc
Normal file → Executable file
|
|
@ -47,7 +47,7 @@ namespace PascalABCCompiler
|
|||
{
|
||||
System.Text.StringBuilder sb = new System.Text.StringBuilder();
|
||||
Console.ForegroundColor = ConsoleColor.Gray;
|
||||
if (command == "") return false;
|
||||
if (command == "" || command == null) return false;
|
||||
if (command.ToLower().IndexOf("cd ") == 0)
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Reference in a new issue