]> Cypherpunks.ru repositories - goredo.git/blob - doc/cmds.texi
redo-affects
[goredo.git] / doc / cmds.texi
1 @node Commands
2 @unnumbered Commands
3
4 @table @command
5
6 @item redo-ifchange, redo-ifcreate, redo-always
7
8 @item redo
9     Same as @command{redo-ifchange}, but forcefully and sequentially run
10     specified targets.
11
12 @item redo-log
13     Display @url{http://cr.yp.to/libtai/tai64.html, TAI64N} timestamped
14     last @command{stderr} of the target, captured before.
15
16 @item redo-targets, redo-sources, redo-ood
17     List known targets, sources and out-of-date targets. You can limit
18     results by specifying explicit targets you are interested in.
19     @command{redo-sources} shows all recursive source files given
20     targets depend on.
21
22 @item redo-affects
23     List all targets that will be affected by changing the specified ones.
24
25 @item redo-stamp
26     Record stamp dependency. Nothing more, dummy. Read about
27     @ref{Stamping, stamping} in the FAQ.
28
29 @item redo-cleanup
30     Removes either temporary, log files, or everything related to
31     @command{goredo}.
32
33 @item redo-whichdo
34     Display @file{.do} search paths for specified target (similar to
35     @command{apenwarr/redo}):
36 @example
37 $ redo-whichdo x/y/a.b.o
38 x/y/a.b.o.do
39 x/y/default.b.o.do
40 x/y/default.o.do
41 x/y/default.do
42 x/default.b.o.do
43 x/default.o.do
44 x/default.do
45 default.b.o.do
46 default.o.do
47 default.do
48 ../default.b.o.do
49 ../default.o.do
50 ../default.do
51 @end example
52
53 @item redo-dot
54     Dependency
55     @url{https://en.wikipedia.org/wiki/DOT_(graph_description_language), DOT}
56     graph generator. For example to visualize your dependencies with GraphViz:
57 @example
58 $ redo target [...] # to assure that **/.redo/*.rec are filled up
59 $ redo-dot target [...] > whatever.dot
60 $ dot -Tpng whatever.dot > whatever.png # possibly add -Gsplines=ortho
61 @end example
62
63 @end table