TextMate is a graphical text editor for OS X 10.7+
Revisão | 925f9fb729da51b1a0d07920af5b438ccd9967ef (tree) |
---|---|
Hora | 2012-08-23 14:18:40 |
Autor | Michael Sheets <git@whit...> |
Commiter | Michael Sheets |
Add scope attributes for Ant, CMake, Maven and Scons projects.
@@ -41,14 +41,18 @@ namespace | ||
41 | 41 | { |
42 | 42 | static std::string const DefaultScopeAttributes = |
43 | 43 | "{ rules = (" |
44 | - " { attribute = 'attr.scm.svn'; glob = '.svn'; group = 'scm'; }," | |
45 | - " { attribute = 'attr.scm.hg'; glob = '.hg'; group = 'scm'; }," | |
46 | - " { attribute = 'attr.scm.git'; glob = '.git'; group = 'scm'; }," | |
47 | - " { attribute = 'attr.scm.p4'; glob = '.p4config'; group = 'scm'; }," | |
48 | - " { attribute = 'attr.project.ninja'; glob = 'build.ninja'; group = 'build'; }," | |
49 | - " { attribute = 'attr.project.make'; glob = 'Makefile'; group = 'build'; }," | |
50 | - " { attribute = 'attr.project.xcode'; glob = '*.xcodeproj'; group = 'build'; }," | |
51 | - " { attribute = 'attr.project.rake'; glob = 'Rakefile'; group = 'build'; }," | |
44 | + " { attribute = 'attr.scm.svn'; glob = '.svn'; group = 'scm'; }," | |
45 | + " { attribute = 'attr.scm.hg'; glob = '.hg'; group = 'scm'; }," | |
46 | + " { attribute = 'attr.scm.git'; glob = '.git'; group = 'scm'; }," | |
47 | + " { attribute = 'attr.scm.p4'; glob = '.p4config'; group = 'scm'; }," | |
48 | + " { attribute = 'attr.project.ninja'; glob = 'build.ninja'; group = 'build'; }," | |
49 | + " { attribute = 'attr.project.make'; glob = 'Makefile'; group = 'build'; }," | |
50 | + " { attribute = 'attr.project.xcode'; glob = '*.xcodeproj'; group = 'build'; }," | |
51 | + " { attribute = 'attr.project.rake'; glob = 'Rakefile'; group = 'build'; }," | |
52 | + " { attribute = 'attr.project.ant'; glob = 'build.xml'; group = 'build'; }," | |
53 | + " { attribute = 'attr.project.cmake'; glob = 'CMakeLists.txt'; group = 'build'; }," | |
54 | + " { attribute = 'attr.project.maven'; glob = 'pom.xml'; group = 'build'; }," | |
55 | + " { attribute = 'attr.project.scons'; glob = 'SConstruct'; group = 'build'; }," | |
52 | 56 | "); }"; |
53 | 57 | |
54 | 58 | std::vector<attribute_rule_t> res; |