Pārlūkot izejas kodu

vslol: create an etc/ directory beside bison's and flex's to work

around an MSYS bug in the main DLL, and copy the m4.exe binary we
ship with bison into the flex directory, too.
legacy
Sam Hocevar sam pirms 12 gadiem
vecāks
revīzija
8dd096217f
3 mainītis faili ar 12 papildinājumiem un 3 dzēšanām
  1. +2
    -2
      tools/vslol/AssemblyInfo.cs
  2. +9
    -0
      tools/vslol/MenuGenerateCompilers.cs
  3. +1
    -1
      tools/vslol/source.extension.vsixmanifest

+ 2
- 2
tools/vslol/AssemblyInfo.cs Parādīt failu

@@ -20,5 +20,5 @@ using System.Runtime.InteropServices;
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("58968f91-edb8-4a4c-9f4f-ba39fdb4a21a")]

[assembly: AssemblyVersion("1.0.0.2")]
[assembly: AssemblyFileVersion("1.0.0.2")]
[assembly: AssemblyVersion("1.0.0.3")]
[assembly: AssemblyFileVersion("1.0.0.3")]

+ 9
- 0
tools/vslol/MenuGenerateCompilers.cs Parādīt failu

@@ -115,6 +115,15 @@ namespace Lol.VisualStudio.Plugin
string flex_path = external_path + "\\external\\flex-2.5.35";
string bison_path = external_path + "\\external\\bison-2.4.2";

/* Workaround for an MSYS bug. If these directories don't
* exist, fork() will fail. Yeah, wtf. */
try
{
Directory.CreateDirectory(flex_path + "\\etc");
Directory.CreateDirectory(bison_path + "\\etc");
}
catch (Exception e) { }

// Run flex on all the .l files
foreach (ProjectItem item in ParseProjectItems(project))
{


+ 1
- 1
tools/vslol/source.extension.vsixmanifest Parādīt failu

@@ -3,7 +3,7 @@
<Identifier Id="VsLol.Sample">
<Name>VsLol</Name>
<Author>Lol</Author>
<Version>1.0.0.2</Version>
<Version>1.0.0.3</Version>
<Description xml:space="preserve">Lol Engine Productivity Tools.</Description>
<Locale>1033</Locale>
<InstalledByMsi>false</InstalledByMsi>


Notiek ielāde…
Atcelt
Saglabāt