This is when calling ‘make’ to obtain phony targets. Previously it would fail to resolve relative includes, which manifested itself by an error following the build output, in addition to not listing potential targets from these included make files.
We now search from current file’s directory and up to the project directory, if TM_MAKE_FILE is unset, and there is no Makefile in the project folder. Also show better error when no Makefile is found.
10.7 and 10.8 only include ruby 1.8, so all bundle items have been written to work with that. Optionally supporting ruby 1.9 and 2.0 is problematic as these versions are not fully backwards compatible. #ignore
Due to a recent change in TextMate.executor it would always change the working directory to the project directory, which would fail if TM_MAKE_FILE was set to build/Makefile (and that file used relative paths).
We now show the line as it appeared in the original output, except shortening the path. Only the leading file component of the line is a link and its tooltip show the full path (but not potential line and column info, as that should now be in the visible output).
We now also use the ‘:noun’ parameter with TextMate.executor instead of overwriting TM_DISPLAYNAME.
This lets us have consistent variables and regex handling. It also makes it very easy to add new commands (see: Build vs Run).
Previously, it would only work for ./Makefile
- Reordered file extensions - Added folding markers
The argument to make is the target we want to build and should not affect which interpreter is used.
This is to allow using a newer version of make. Additionally the patterns matching make output will now accept ‘gmake:’ as alternative to ‘make:’ as line prefix.
Also match \\ so that sequences like \\` are handled properly.
A \` pattern is likely part of a string, and does not signal the start of an interpolated shell script.
For unknown reasons I get all the goals doubled roughly 10-20% of the time when using “Build Target…”. The way we obtain the list is hacky, so I added the unique option rather than debug the issue.
… a rule name and the colon.
…arer alternative “ENV["key"] || "default"”.
…fic target to be chosen.
We already have the pre-run hook set to “Save Project”. git-svn-id: http://svn.textmate.org/trunk/Bundles/Make.tmbundle@11598 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
git-svn-id: http://svn.textmate.org/trunk/Bundles/Make.tmbundle@11506 dfb7d73b-c2ec-0310-8fea-fb051d288c6d