Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor repeated code in cleaner | Evan Martin | 2012-10-31 | 1 | -14/+14 |
| | |||||
* | Improve the efficiency of -t clean | Petr Wolf | 2012-10-04 | 1 | -1/+11 |
| | | | | | Prevent each node from being examined for cleaning multiple times, if it is used in several other nodes | ||||
* | Merge branch 'dont-clean-phony' of git://github.com/pcc/ninja | Evan Martin | 2012-04-26 | 1 | -9/+11 |
|\ | | | | | | | | | Conflicts: src/clean.cc | ||||
| * | Don't delete phony targets when cleaning a specified target | Peter Collingbourne | 2012-02-28 | 1 | -7/+9 |
| | | | | | | | | Also, modify Cleaner::CleanAll to use Edge::is_phony. | ||||
* | | Remove depfiles when running when running "ninja -t clean <target>" | Qingning Huo | 2012-03-14 | 1 | -0/+4 |
|/ | | | | or "ninja -t clean -r <rule>" | ||||
* | Add comments, remove unwanted whitespace change | Petr Wolf | 2012-02-10 | 1 | -1/+1 |
| | |||||
* | Response files | unknown | 2012-02-09 | 1 | -1/+9 |
| | |||||
* | Fix the TODO in Rule class. | Thiago Farina | 2011-12-24 | 1 | -1/+1 |
| | | | | | | Move various data members to private section and provide accessors for them. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | make Rule::generator_ and restat_ private | Evan Martin | 2011-12-07 | 1 | -1/+1 |
| | |||||
* | make Rule::name_ private | Evan Martin | 2011-12-07 | 1 | -5/+6 |
| | |||||
* | make Node::in_edge_ private | Evan Martin | 2011-12-07 | 1 | -3/+3 |
| | |||||
* | merge FileStat into Node | Evan Martin | 2011-12-07 | 1 | -3/+3 |
| | | | | | | The two were always one-to-one anyway. I started adding accessors to FileStat and then realized most users wanted them on Node and that forwarding them through was silly. | ||||
* | add and use getter for Edge::rule_ | Evan Martin | 2011-12-07 | 1 | -3/+3 |
| | |||||
* | Have the clean tool remove depfiles | Peter Collingbourne | 2011-12-06 | 1 | -0/+2 |
| | |||||
* | Implement generator rules | Peter Collingbourne | 2011-10-15 | 1 | -1/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | Make Cleaner::config_ a reference-to-const instead of copying the value. | Thiago Farina | 2011-09-09 | 1 | -1/+0 |
| | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Factor out State struct from ninja_jumble.cc into its header/source files. | Thiago Farina | 2011-09-03 | 1 | -1/+1 |
| | | | | | | This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Move RealDiskInterface class to disk_interface.h. | Thiago Farina | 2011-08-25 | 1 | -21/+20 |
| | | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | clean: don't delete phony targets | Evan Martin | 2011-06-30 | 1 | -4/+7 |
| | | | | Based on a patch from John Birtley. | ||||
* | Return non-zero status when errors occur. | Nicolas Despres | 2011-05-02 | 1 | -15/+35 |
| | | | | | | Clean all was not returning non-zero when an error occur (like when failing to remove a directory). This patch fix the problem and add a test for it. | ||||
* | Add a test for the clean tool. | Nicolas Despres | 2011-05-02 | 1 | -31/+52 |
| | | | | It also fix a bug about the count of removed file reported. | ||||
* | fix a signedness warning | Evan Martin | 2011-04-29 | 1 | -1/+1 |
| | |||||
* | Add the 'clean' tool. | Nicolas Despres | 2011-04-26 | 1 | -0/+190 |
It removes built files either by rule or target or everything. |