소스 검색

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>


불러오는 중...
취소
저장