refactor(lib): delete the code nothing reaches

This commit is contained in:
milner committed 2022-07-24 18:55:09 +00:00
1 parent 5f81ab227d
commit 84fae96b16
11 files changed
+7 -84

No files matched your search

+1 -3
View File
@@ -358,10 +358,8 @@ let cmd_targets () =
banner p;
List.iter
(fun (t : target) ->
let tag, paint = Build.tag_of t.kind in
ignore tag;
Printf.printf " %s%s%s%s\n"
(paint (Style.pad 9 (kind_name t.kind)))
(Build.paint (Build.tag_of t.kind) (Style.pad 9 (kind_name t.kind)))
(Style.pad 22 t.name)
(Style.pad 20 (Style.dim (Style.plural (List.length (all_srcs t)) "source")))
(Style.dim (if t.uses = [] then "" else "uses " ^ String.concat " " t.uses)))