Skip to content

Commit

Permalink
Msg codegen: add a .gitignore to the generated project directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearmistake committed Mar 1, 2016
1 parent cd04f98 commit d9013b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions YAMLParser/Program.cs
Expand Up @@ -228,6 +228,7 @@ public static void GenerateProject(List<MsgsFile> files, List<SrvsFile> srvfiles
}
File.Copy("TemplateProject\\SerializationHelper.cs", (istemp ? outputdir_firstpass : outputdir) + "\\SerializationHelper.cs", true);
File.Copy("TemplateProject\\Interfaces.cs", (istemp ? outputdir_firstpass : outputdir) + "\\Interfaces.cs", true);
File.WriteAllText((istemp ? outputdir_firstpass : outputdir) + "\\.gitignore", "*");
File.WriteAllText((istemp ? (outputdir_firstpass + "\\" + (istemp ? name_firstpass : name) + ".csproj") : (outputdir + "\\" + (istemp ? name_firstpass : name) + ".csproj")), output);
Thread.Sleep(100);
}
Expand Down

0 comments on commit d9013b4

Please sign in to comment.