瀏覽代碼

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 12 年之前
父節點
當前提交
8dd096217f
共有 3 個檔案被更改,包括 12 行新增3 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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>


Loading…
取消
儲存