Evan Martin
8d42584c29
Merge branch 'fix-provide-form' of git://github.com/yasuyk/ninja
...
Conflicts:
misc/ninja-mode.el
2014-01-21 10:57:29 -08:00
Evan Martin
51c9220f53
Merge branch 'fix-warning' of git://github.com/yasuyk/ninja
...
Conflicts:
misc/ninja-mode.el
2014-01-21 10:56:43 -08:00
Yasuyuki Oka
9da5b0c862
emacs: Place provide form at end of file
...
Any errors in the code after "provide" will leave the feature
registered, so it should always be at the end.
2014-01-21 22:33:35 +09:00
Yasuyuki Oka
8596ba6081
emacs: Fix a warning
...
Fix a following byte-compile warning:
ninja-mode.el:18:7:Warning: assignment to free variable `ninja-keywords'
2014-01-21 22:29:41 +09:00
Yasuyuki Oka
e4dc39bdbf
emacs: ELPA compatibility
2014-01-21 22:19:19 +09:00
Nico Weber
1b9c7bb51a
Note that version 1.3 of the vim syntax file has been sent upstream.
...
Also fix an issue noticed by Bram during integration: Make sure to set "cpo"
correctly. This matches other vim syntax files and is required to make sure
that the backslash continuation works with all .vimrc files
(see `:help line-continuation`).
2013-04-16 12:18:39 -07:00
Evan Martin
b8e7500180
make unittest match module name
2013-04-10 09:43:25 -07:00
yannicklm
7dba46cbe7
ninja.vim: add deps as keyword
...
new in ninja 1.3
2013-04-09 21:04:21 +02:00
Evan Martin
a8d7d8163a
rename "special" to "deps"
2013-04-08 15:02:15 -07:00
Evan Martin
85a4db7822
add "special=gcc" attribute, use to load depslog
2013-04-08 14:45:07 -07:00
Guilherme Bufolo
ca04327e24
Improved bash completion when using tools like '-t clean'
2013-04-06 13:47:18 +02:00
Petr Hosek
e9f4fe4c4c
Removed re2c build dependency from RPM spec file
2013-01-21 19:32:44 +00:00
Petr Hosek
a592a50679
Use correct Fedora versioning scheme
2013-01-15 23:27:54 +00:00
Petr Hosek
3c0b8b2874
RPM spec file should use correct versioning scheme and list all build dependencies
2013-01-14 12:49:05 +00:00
Evan Martin
b883c291c1
ninja_syntax.py: don't add trailing space when build has no inputs
...
Seen in Ninja's configure.py where it creates an "rpmbuild" command.
2012-12-29 00:39:38 -08:00
Nico Weber
1b91f76bba
Update version number in ninja.vim after recent changes.
2012-12-14 21:18:31 -08:00
Evan Martin
deb12d8eed
Merge pull request #471 from riannucci/fix_vim_syntax
...
Fix vim syntax
2012-12-14 11:06:03 -08:00
Evan Martin
62620a074a
Merge pull request #472 from riannucci/add_python_pool_syntax
...
Add python ninja_syntax.py support for pool
2012-12-14 11:05:44 -08:00
Robert Iannucci
53ba2ca746
Add missing default keyword
2012-12-13 23:21:02 -08:00
Robert Iannucci
16a7f86f0f
Add pool
2012-12-13 23:20:50 -08:00
Robert Iannucci
a7e4d6affb
Add missing rspfile and rspfile_content
2012-12-13 23:12:47 -08:00
Robert Iannucci
e735510fcf
Add ninja.vim syntax for pool
2012-12-13 23:12:47 -08:00
Robert Iannucci
f5129c8174
Add python ninja_syntax.py support for pool
2012-12-13 23:11:48 -08:00
Tommy Nyquist
e6c67528e8
Add support for reading directory for bash completion.
...
Currently ninja bash completion only works in the directory where the
build.ninja files is located. This adds support for using the -C
argument to ninja.
2012-10-30 15:28:02 -07:00
Zaheer Chothia
1d5daecfaf
Add support for Python 3
2012-10-18 15:03:20 +02:00
Maxim Kalaev
1cdfae5a88
packaging: refactored rpm building
...
Now passing through a valid SRPM, working in a standard way.
2012-09-23 14:37:11 +02:00
Maxim Kalaev
0cd552c0dc
packaging: added basic RPM building
2012-07-27 13:22:34 +03:00
Evan Martin
1e2514e521
ninja_syntax: escape colons in paths
2012-07-17 13:26:21 -07:00
Thiago Farina
3baedf1767
Rename parsers.* to manifest_parser.*
...
So it matches with the class name in there.
Signed-off-by: Thiago Farina <tfarina@chromium.org>
2012-07-09 16:09:31 -03:00
Nico Weber
d8d301b2ec
Make :set spell
only check spelling in comments. Patch from Thilo Six <T.Six@gmx.de>!
2012-06-01 10:59:15 -07:00
Nico Weber
8aebe7d32e
vim syntax file: Highlight ninja comments.
2012-05-13 21:34:58 -07:00
Nico Weber
7ef52b4c6f
Fix layout width in ninja_syntax.py.
...
The last line would sometimes be needlessly longer than the layout
width. One example is line 67 in the build.ninja generated by
ninja's own configure.py: Before this patch, ninja_syntax would
create a 81 character line.
2012-05-01 18:26:51 -07:00
Evan Martin
8066c2d1bb
emacs: hook up ninja-mode to extension
2012-04-28 09:06:55 -07:00
Scott Graham
35544126cf
add rspfile and rspfile_content to ninja_syntax
2012-03-26 17:36:43 -07:00
Scott Franklin
e257aa3fbd
Explicitly turn input/output lists into list objects.
...
Python 3 does not support map.append/extend.
2012-01-28 15:16:47 -05:00
Evan Martin
f41757f885
Merge pull request #185 from nico/vim
...
Add a ninja syntax file for vim.
2012-01-04 16:46:42 -08:00
Evan Jones
16e4419e88
ninja_syntax.py: Fix a bug when passing dict variables to Writer.build()
...
Add a test to cover both dict and list variables.
2012-01-04 17:36:08 -05:00
Nico Weber
98956ab4e8
Add a ninja syntax file for vim.
2012-01-04 13:52:11 -08:00
Evan Martin
eaf1ff1904
add script for measuring build performance
2011-12-29 11:57:02 -08:00
Evan Martin
9cf5918cc5
ninja_syntax: add restat attribute to rules
...
Patch from Ami Fischman <fischman@chromium.org>.
2011-12-28 13:52:47 -08:00
Evan Martin
71626dde2c
add bash completion based on zsh completion
2011-12-27 23:32:09 -08:00
Nico Weber
ebb6c59346
Let ninja_syntax handle escaped spaces correctly.
...
Revert the main loop changes made in 2e7ab75142
,
and add just a few lines to the original main loop to make '$ ' escaping work.
Add several new tests, and make the existing tests pass again.
2011-12-22 12:21:12 -08:00
Jeremy Apthorp
9be1597a21
Update ninja_syntax.py and tests to reflect '$ ' syntax.
2011-11-29 16:36:33 +11:00
Humza
88fbad50ae
Improvements to ninja-mode
...
* provide ninja-mode feature
* highlight rule names
2011-11-13 11:30:10 -05:00
Evan Martin
bb52198d19
don't leak fds into subprocesses
...
Patch from Antoine Labour <piman@chromium.org>, (hacky) test by me.
2011-10-31 15:39:53 -07:00
Peter Collingbourne
7cf2bdffe2
Implement generator rules
...
Introduce a rule attribute "generator" which, if present, specifies
that this rule is used to re-invoke the generator program. Files built
using generator rules are treated specially in two ways: firstly,
they will not be rebuilt if the command line changes; and secondly,
they are not cleaned by default.
A command line flag "-g" is introduced for the clean tool, which
causes it to remove generator files.
Fixes issue #102 .
2011-10-15 20:23:50 +01:00
Evan Martin
32855955c6
allow --with-gtest flag to use unpacked gtest dir
...
Useful for building on Macs.
2011-09-07 16:47:57 -07:00
Evan Martin
3becb3bbf5
add 'default' keyword to python module
2011-09-06 12:59:47 -07:00
Evan Martin
679305757e
ninja_syntax.py: add include and subninja
2011-08-29 11:19:50 -07:00
Evan Martin
f5aed0b31f
rename ninja module to ninja_syntax
2011-08-16 11:36:01 -07:00