rubu 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +2 -0
- data/README.rdoc +11 -10
- data/doc/Array.html +28 -28
- data/doc/Rubu.html +2 -2
- data/doc/Rubu/Fork.html +5 -5
- data/doc/Rubu/Info.html +9 -9
- data/doc/Rubu/Mark.html +69 -69
- data/doc/Rubu/Move.html +1 -1
- data/doc/Rubu/MoveStyles.html +9 -9
- data/doc/Rubu/Order.html +11 -9
- data/doc/Rubu/RubyCommand.html +10 -10
- data/doc/Rubu/ShellCommand.html +14 -10
- data/doc/Rubu/State.html +1 -1
- data/doc/Rubu/Step.html +107 -107
- data/doc/Rubu/StepAged.html +5 -5
- data/doc/Rubu/StepAlways.html +5 -5
- data/doc/Rubu/StepMark.html +5 -5
- data/doc/Rubu/Trail.html +57 -57
- data/doc/Rubu/Var.html +9 -9
- data/doc/Rubu/Walk.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +5 -2
- data/doc/file.README.html +12 -10
- data/doc/index.html +12 -10
- data/doc/top-level-namespace.html +1 -1
- data/example/bin/rubu_example +6 -6
- data/example/build/hello +0 -0
- data/example/build/hello_world.o +0 -0
- data/lib/rubu.rb +15 -9
- data/lib/version.rb +1 -1
- metadata +2 -2
data/doc/Rubu/StepAged.html
CHANGED
@@ -250,12 +250,12 @@
|
|
250
250
|
<pre class="lines">
|
251
251
|
|
252
252
|
|
253
|
-
|
254
|
-
|
255
|
-
|
253
|
+
703
|
254
|
+
704
|
255
|
+
705</pre>
|
256
256
|
</td>
|
257
257
|
<td>
|
258
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
258
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 703</span>
|
259
259
|
|
260
260
|
<span class='kw'>def</span> <span class='id identifier rubyid_update?'>update?</span>
|
261
261
|
<span class='const'><span class='object_link'><a href="Order.html" title="Rubu::Order (class)">Order</a></span></span><span class='lbracket'>[</span> <span class='symbol'>:force</span> <span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_date_update?'>date_update?</span>
|
@@ -270,7 +270,7 @@
|
|
270
270
|
</div>
|
271
271
|
|
272
272
|
<div id="footer">
|
273
|
-
Generated on
|
273
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
274
274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
275
275
|
0.9.16 (ruby-2.5.1).
|
276
276
|
</div>
|
data/doc/Rubu/StepAlways.html
CHANGED
@@ -250,12 +250,12 @@
|
|
250
250
|
<pre class="lines">
|
251
251
|
|
252
252
|
|
253
|
-
|
254
|
-
|
255
|
-
|
253
|
+
694
|
254
|
+
695
|
255
|
+
696</pre>
|
256
256
|
</td>
|
257
257
|
<td>
|
258
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
258
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 694</span>
|
259
259
|
|
260
260
|
<span class='kw'>def</span> <span class='id identifier rubyid_update?'>update?</span>
|
261
261
|
<span class='kw'>true</span>
|
@@ -270,7 +270,7 @@
|
|
270
270
|
</div>
|
271
271
|
|
272
272
|
<div id="footer">
|
273
|
-
Generated on
|
273
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
274
274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
275
275
|
0.9.16 (ruby-2.5.1).
|
276
276
|
</div>
|
data/doc/Rubu/StepMark.html
CHANGED
@@ -252,12 +252,12 @@ addition of being newer.</p>
|
|
252
252
|
<pre class="lines">
|
253
253
|
|
254
254
|
|
255
|
-
|
256
|
-
|
257
|
-
|
255
|
+
713
|
256
|
+
714
|
257
|
+
715</pre>
|
258
258
|
</td>
|
259
259
|
<td>
|
260
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
260
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 713</span>
|
261
261
|
|
262
262
|
<span class='kw'>def</span> <span class='id identifier rubyid_update?'>update?</span>
|
263
263
|
<span class='const'><span class='object_link'><a href="Order.html" title="Rubu::Order (class)">Order</a></span></span><span class='lbracket'>[</span> <span class='symbol'>:force</span> <span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_mark_update?'>mark_update?</span>
|
@@ -272,7 +272,7 @@ addition of being newer.</p>
|
|
272
272
|
</div>
|
273
273
|
|
274
274
|
<div id="footer">
|
275
|
-
Generated on
|
275
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
276
276
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
277
277
|
0.9.16 (ruby-2.5.1).
|
278
278
|
</div>
|
data/doc/Rubu/Trail.html
CHANGED
@@ -484,19 +484,19 @@ later.</p>
|
|
484
484
|
<pre class="lines">
|
485
485
|
|
486
486
|
|
487
|
-
743
|
488
|
-
744
|
489
|
-
745
|
490
|
-
746
|
491
|
-
747
|
492
|
-
748
|
493
487
|
749
|
494
488
|
750
|
495
489
|
751
|
496
|
-
752
|
490
|
+
752
|
491
|
+
753
|
492
|
+
754
|
493
|
+
755
|
494
|
+
756
|
495
|
+
757
|
496
|
+
758</pre>
|
497
497
|
</td>
|
498
498
|
<td>
|
499
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
499
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 749</span>
|
500
500
|
|
501
501
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
502
502
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
@@ -546,12 +546,12 @@ later.</p>
|
|
546
546
|
<pre class="lines">
|
547
547
|
|
548
548
|
|
549
|
-
|
550
|
-
|
551
|
-
|
549
|
+
745
|
550
|
+
746
|
551
|
+
747</pre>
|
552
552
|
</td>
|
553
553
|
<td>
|
554
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
554
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 745</span>
|
555
555
|
|
556
556
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
557
557
|
<span class='ivar'>@name</span>
|
@@ -594,12 +594,12 @@ later.</p>
|
|
594
594
|
<pre class="lines">
|
595
595
|
|
596
596
|
|
597
|
-
|
598
|
-
|
599
|
-
|
597
|
+
735
|
598
|
+
736
|
599
|
+
737</pre>
|
600
600
|
</td>
|
601
601
|
<td>
|
602
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
602
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 735</span>
|
603
603
|
|
604
604
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='rparen'>)</span>
|
605
605
|
<span class='cvar'>@@trails</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span>
|
@@ -635,12 +635,12 @@ later.</p>
|
|
635
635
|
<pre class="lines">
|
636
636
|
|
637
637
|
|
638
|
-
|
639
|
-
|
640
|
-
|
638
|
+
729
|
639
|
+
730
|
640
|
+
731</pre>
|
641
641
|
</td>
|
642
642
|
<td>
|
643
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
643
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 729</span>
|
644
644
|
|
645
645
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_form'>form</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
646
646
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
@@ -676,12 +676,12 @@ later.</p>
|
|
676
676
|
<pre class="lines">
|
677
677
|
|
678
678
|
|
679
|
-
|
680
|
-
|
681
|
-
|
679
|
+
740
|
680
|
+
741
|
681
|
+
742</pre>
|
682
682
|
</td>
|
683
683
|
<td>
|
684
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
684
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 740</span>
|
685
685
|
|
686
686
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span>
|
687
687
|
<span class='cvar'>@@trails</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span>
|
@@ -717,12 +717,6 @@ later.</p>
|
|
717
717
|
<pre class="lines">
|
718
718
|
|
719
719
|
|
720
|
-
767
|
721
|
-
768
|
722
|
-
769
|
723
|
-
770
|
724
|
-
771
|
725
|
-
772
|
726
720
|
773
|
727
721
|
774
|
728
722
|
775
|
@@ -738,10 +732,16 @@ later.</p>
|
|
738
732
|
785
|
739
733
|
786
|
740
734
|
787
|
741
|
-
788
|
735
|
+
788
|
736
|
+
789
|
737
|
+
790
|
738
|
+
791
|
739
|
+
792
|
740
|
+
793
|
741
|
+
794</pre>
|
742
742
|
</td>
|
743
743
|
<td>
|
744
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
744
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 773</span>
|
745
745
|
|
746
746
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Trail (class)">Trail</a></span></span><span class='period'>.</span><span class='id identifier rubyid_load_setup'>load_setup</span><span class='lparen'>(</span> <span class='id identifier rubyid_setup_file'>setup_file</span> <span class='rparen'>)</span>
|
747
747
|
|
@@ -818,12 +818,6 @@ later.</p>
|
|
818
818
|
<pre class="lines">
|
819
819
|
|
820
820
|
|
821
|
-
824
|
822
|
-
825
|
823
|
-
826
|
824
|
-
827
|
825
|
-
828
|
826
|
-
829
|
827
821
|
830
|
828
822
|
831
|
829
823
|
832
|
@@ -846,10 +840,16 @@ later.</p>
|
|
846
840
|
849
|
847
841
|
850
|
848
842
|
851
|
849
|
-
852
|
843
|
+
852
|
844
|
+
853
|
845
|
+
854
|
846
|
+
855
|
847
|
+
856
|
848
|
+
857
|
849
|
+
858</pre>
|
850
850
|
</td>
|
851
851
|
<td>
|
852
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
852
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 830</span>
|
853
853
|
|
854
854
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Trail (class)">Trail</a></span></span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span> <span class='id identifier rubyid_trails'>trails</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>default</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
|
855
855
|
|
@@ -931,12 +931,6 @@ later.</p>
|
|
931
931
|
<pre class="lines">
|
932
932
|
|
933
933
|
|
934
|
-
795
|
935
|
-
796
|
936
|
-
797
|
937
|
-
798
|
938
|
-
799
|
939
|
-
800
|
940
934
|
801
|
941
935
|
802
|
942
936
|
803
|
@@ -955,10 +949,16 @@ later.</p>
|
|
955
949
|
816
|
956
950
|
817
|
957
951
|
818
|
958
|
-
819
|
952
|
+
819
|
953
|
+
820
|
954
|
+
821
|
955
|
+
822
|
956
|
+
823
|
957
|
+
824
|
958
|
+
825</pre>
|
959
959
|
</td>
|
960
960
|
<td>
|
961
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
961
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 801</span>
|
962
962
|
|
963
963
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Trail (class)">Trail</a></span></span><span class='period'>.</span><span class='id identifier rubyid_setup'>setup</span><span class='lparen'>(</span> <span class='id identifier rubyid_spec'>spec</span> <span class='rparen'>)</span>
|
964
964
|
|
@@ -1022,12 +1022,12 @@ later.</p>
|
|
1022
1022
|
<pre class="lines">
|
1023
1023
|
|
1024
1024
|
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1025
|
+
762
|
1026
|
+
763
|
1027
|
+
764</pre>
|
1028
1028
|
</td>
|
1029
1029
|
<td>
|
1030
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1030
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 762</span>
|
1031
1031
|
|
1032
1032
|
<span class='kw'>def</span> <span class='id identifier rubyid_pick'>pick</span><span class='lparen'>(</span> <span class='id identifier rubyid_trail'>trail</span> <span class='rparen'>)</span>
|
1033
1033
|
<span class='const'><span class='object_link'><a href="" title="Rubu::Trail (class)">Trail</a></span></span><span class='lbracket'>[</span> <span class='id identifier rubyid_trail'>trail</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span>
|
@@ -1063,12 +1063,12 @@ later.</p>
|
|
1063
1063
|
<pre class="lines">
|
1064
1064
|
|
1065
1065
|
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1066
|
+
768
|
1067
|
+
769
|
1068
|
+
770</pre>
|
1069
1069
|
</td>
|
1070
1070
|
<td>
|
1071
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1071
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 768</span>
|
1072
1072
|
|
1073
1073
|
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
1074
1074
|
<span class='id identifier rubyid_serial_run'>serial_run</span>
|
@@ -1083,7 +1083,7 @@ later.</p>
|
|
1083
1083
|
</div>
|
1084
1084
|
|
1085
1085
|
<div id="footer">
|
1086
|
-
Generated on
|
1086
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
1087
1087
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1088
1088
|
0.9.16 (ruby-2.5.1).
|
1089
1089
|
</div>
|
data/doc/Rubu/Var.html
CHANGED
@@ -224,12 +224,12 @@
|
|
224
224
|
<pre class="lines">
|
225
225
|
|
226
226
|
|
227
|
-
|
228
|
-
|
229
|
-
|
227
|
+
460
|
228
|
+
461
|
229
|
+
462</pre>
|
230
230
|
</td>
|
231
231
|
<td>
|
232
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
232
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 460</span>
|
233
233
|
|
234
234
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Var (class)">Var</a></span></span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span>
|
235
235
|
<span class='cvar'>@@var</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
@@ -265,12 +265,12 @@
|
|
265
265
|
<pre class="lines">
|
266
266
|
|
267
267
|
|
268
|
-
|
269
|
-
|
270
|
-
|
268
|
+
455
|
269
|
+
456
|
270
|
+
457</pre>
|
271
271
|
</td>
|
272
272
|
<td>
|
273
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
273
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 455</span>
|
274
274
|
|
275
275
|
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Var (class)">Var</a></span></span><span class='period'>.</span><span class='op'>[]=</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
276
276
|
<span class='cvar'>@@var</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
@@ -285,7 +285,7 @@
|
|
285
285
|
</div>
|
286
286
|
|
287
287
|
<div id="footer">
|
288
|
-
Generated on
|
288
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
289
289
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
290
290
|
0.9.16 (ruby-2.5.1).
|
291
291
|
</div>
|
data/doc/Rubu/Walk.html
CHANGED
@@ -175,7 +175,7 @@
|
|
175
175
|
</div>
|
176
176
|
|
177
177
|
<div id="footer">
|
178
|
-
Generated on
|
178
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
179
179
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
180
180
|
0.9.16 (ruby-2.5.1).
|
181
181
|
</div>
|
data/doc/_index.html
CHANGED
@@ -292,7 +292,7 @@
|
|
292
292
|
</div>
|
293
293
|
|
294
294
|
<div id="footer">
|
295
|
-
Generated on
|
295
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
296
296
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
297
297
|
0.9.16 (ruby-2.5.1).
|
298
298
|
</div>
|
data/doc/file.CHANGELOG.html
CHANGED
@@ -59,7 +59,10 @@
|
|
59
59
|
|
60
60
|
<div id="content"><div id='filecontents'>
|
61
61
|
<h1 id="label-Version+history">Version history</h1>
|
62
|
-
<dl class="rdoc-list label-list"><dt>0.0.
|
62
|
+
<dl class="rdoc-list label-list"><dt>0.0.7
|
63
|
+
<dd>
|
64
|
+
<p>No operation option.</p>
|
65
|
+
</dd><dt>0.0.6
|
63
66
|
<dd>
|
64
67
|
<p>Trail listing method added.</p>
|
65
68
|
</dd><dt>0.0.5
|
@@ -81,7 +84,7 @@
|
|
81
84
|
</div></div>
|
82
85
|
|
83
86
|
<div id="footer">
|
84
|
-
Generated on
|
87
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
85
88
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
86
89
|
0.9.16 (ruby-2.5.1).
|
87
90
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -157,8 +157,8 @@ make the build process convenient.</p>
|
|
157
157
|
<p><strong>Step</strong> is build action that transforms source file(s) to
|
158
158
|
target file(s). For example, a C source file compilation is a
|
159
159
|
<strong>Step</strong> where one source file is converted to a corresponding
|
160
|
-
object file. <strong>Step</strong> is given
|
161
|
-
and
|
160
|
+
object file. <strong>Step</strong> is given <strong>Source-Mark</strong>
|
161
|
+
and <strong>Target-Mark</strong> as arguments. Hence this type of
|
162
162
|
<strong>Step</strong> a is one-to-one mapping.</p>
|
163
163
|
|
164
164
|
<p>Linking multiple objects to an executable is a many-to-one mapping. This is
|
@@ -205,7 +205,7 @@ example.</p>
|
|
205
205
|
<p>To summarize and highlight the relationships between concepts, see the
|
206
206
|
diagram below:</p>
|
207
207
|
|
208
|
-
<pre class="code ruby"><code class="ruby">RBP => Trail+ => Step+ [s/p] => Move+ [s/p] =>
|
208
|
+
<pre class="code ruby"><code class="ruby">RBP => Trail+ => Step+ [s/p] => Move+ [s/p] => Source-Mark*, Target-Mark*
|
209
209
|
=> Order+
|
210
210
|
=> Var*
|
211
211
|
=> Info*
|
@@ -223,8 +223,8 @@ sequence or in parallel.</p>
|
|
223
223
|
|
224
224
|
<p><strong>Step</strong> includes one or more <strong>Moves</strong>, and they
|
225
225
|
can also be sequential or parallel. <strong>Move</strong> has typically at
|
226
|
-
least one <strong>
|
227
|
-
<strong>
|
226
|
+
least one <strong>Source-Mark</strong> and at least one
|
227
|
+
<strong>Target-Mark</strong>. However, there are exceptions as well.</p>
|
228
228
|
|
229
229
|
<p>The suggested ordering within <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> Build Program is:</p>
|
230
230
|
<dl class="rdoc-list label-list"><dt>configuration
|
@@ -235,7 +235,8 @@ the build process.</p>
|
|
235
235
|
<dd>
|
236
236
|
<p>Collect source and target files either using Ruby with glob pattern, direct
|
237
237
|
references, or through manifest files. Convert file names to
|
238
|
-
<strong>Mark</strong> objects
|
238
|
+
<strong>Mark</strong> objects (<strong>Source-Mark</strong>,
|
239
|
+
<strong>Target-Mark</strong>).</p>
|
239
240
|
</dd><dt>step definition
|
240
241
|
<dd>
|
241
242
|
<p>Define <strong>Steps</strong>. Inherit one of the <strong>Step</strong>
|
@@ -274,7 +275,8 @@ all C source files:</p>
|
|
274
275
|
</code></pre>
|
275
276
|
|
276
277
|
<p>This creates a list of <strong>Mark</strong> objects which are source
|
277
|
-
files. The corresponding object
|
278
|
+
files, i.e. <strong>Source-Marks</strong>. The corresponding object
|
279
|
+
(target) files can be created with “peer” method:</p>
|
278
280
|
|
279
281
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_obj_files'>obj_files</span> <span class='op'>=</span> <span class='id identifier rubyid_cee_files'>cee_files</span><span class='period'>.</span><span class='id identifier rubyid_peer'>peer</span><span class='lparen'>(</span> <span class='const'>Var</span><span class='lbracket'>[</span> <span class='symbol'>:build_dir</span> <span class='rbracket'>]</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.o</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
|
280
282
|
</code></pre>
|
@@ -303,8 +305,8 @@ additional “setup” method can be defined as well.</p>
|
|
303
305
|
configuration. “step” method is the action for <strong>Step</strong>.
|
304
306
|
<span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> executes it, if necessary. For example, if <strong>Step</strong> is
|
305
307
|
a <strong>StepAged</strong> class, then the “step” method is only called if
|
306
|
-
the
|
307
|
-
<strong>Mark</strong>.</p>
|
308
|
+
the <strong>Source-Mark</strong> is newer than the
|
309
|
+
<strong>Target-Mark</strong>.</p>
|
308
310
|
|
309
311
|
<p>“step” method may include only one command or a set of commands. If one
|
310
312
|
command is needed, it can be simply executed:</p>
|
@@ -395,7 +397,7 @@ refer to the source, i.e. the only existing source, you can use the
|
|
395
397
|
</div></div>
|
396
398
|
|
397
399
|
<div id="footer">
|
398
|
-
Generated on
|
400
|
+
Generated on Sat Sep 29 22:28:26 2018 by
|
399
401
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
400
402
|
0.9.16 (ruby-2.5.1).
|
401
403
|
</div>
|