Generate Git/SVN ignore settings for new projects
Add a checkbox to the new project wizard. When checked, Git/SVN ignores should be automatically generated with the project.
Submitted by Vlad Vergu on 5 December 2012 at 16:34
Issue Log
A note: it seems that the include directory can be ignored with the exception of the -parenthesize.str file, which is required to build the project.
Actually, you do not need the -parenthesize.str file. But there seems to be an issue in the build file. If you build, run the sdf2parentesize target manually, and then build all again, it works even with an empty include directory.
Implemented in r25750.
Project creation wizard optionally creates .gitignore files. No support for SVN.
For a language called TLang, the following is the contents of the .gitignore file:
.cache bin editor/TLang-*.generated.esv include/* syntax/TLang.generated.pp
Well, if there’s an issue in the build file you actually need it until that issue is resolved?
At least in the enfun project I could not build without this file, because it was not generated. It was not generated because the enfun.str file imported parenthesize.str, which did not exist and let the build fail. Although not many projects actually import this file, so with most projects it can be ignored.
The paranthesizer issue is open at Spoofax/575
Spoofax/188 is related, regarding cleaning of projects for version control.
Log in to post comments