commit | 750988e325d10d04cf7d91dd7a5af068dbccabf4 | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Sun Apr 12 10:14:32 2015 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Sun Apr 12 10:14:32 2015 +0900 |
tree | 6c58e3bda9099b1a0f919bb4fa6e86fedf52e270 | |
parent | ec31b3738bd057cf58985870a100e8c1f485df22 [diff] [blame] |
Add --kati_stats option
diff --git a/exec.go b/exec.go index 25c1559..b0edda0 100644 --- a/exec.go +++ b/exec.go
@@ -476,6 +476,11 @@ targets = append(targets, ex.firstRule.outputs[0]) } + LogStats("%d variables", len(vars)) + LogStats("%d explicit rules", len(ex.rules)) + LogStats("%d implicit rules", len(ex.implicitRules)) + LogStats("%d suffix rules", len(ex.suffixRules)) + for _, target := range targets { _, err := ex.build(vars, target, "") if err != nil {