autobuild 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +8 -0
- data/Rakefile +19 -11
- data/bin/autobuild +94 -0
- data/doc/classes/Autobuild.html +294 -0
- data/doc/classes/Autobuild.src/M000034.html +25 -0
- data/doc/classes/Autobuild.src/M000035.html +19 -0
- data/doc/classes/Autobuild.src/M000036.html +44 -0
- data/doc/classes/Autobuild.src/M000037.html +19 -0
- data/doc/classes/Autobuild.src/M000038.html +19 -0
- data/doc/classes/Autobuild.src/M000039.html +20 -0
- data/doc/classes/Autobuild/Autotools.html +284 -0
- data/doc/classes/Autobuild/Autotools.src/M000065.html +18 -0
- data/doc/classes/Autobuild/Autotools.src/M000066.html +26 -0
- data/doc/classes/Autobuild/Autotools.src/M000067.html +38 -0
- data/doc/classes/Autobuild/Autotools.src/M000068.html +53 -0
- data/doc/classes/Autobuild/Autotools.src/M000069.html +28 -0
- data/doc/classes/Autobuild/Autotools.src/M000070.html +23 -0
- data/doc/classes/Autobuild/Autotools.src/M000071.html +22 -0
- data/doc/classes/Autobuild/CVSImporter.html +156 -0
- data/doc/classes/Autobuild/CVSImporter.src/M000048.html +24 -0
- data/doc/classes/Autobuild/CVSImporter.src/M000049.html +18 -0
- data/doc/classes/Autobuild/CommandNotFound.html +113 -0
- data/doc/classes/Autobuild/Config.html +146 -0
- data/doc/classes/Autobuild/Config.src/M000040.html +28 -0
- data/doc/classes/Autobuild/Config.src/M000041.html +47 -0
- data/doc/classes/Autobuild/ConfigException.html +113 -0
- data/doc/classes/Autobuild/Exception.html +215 -0
- data/doc/classes/Autobuild/Exception.src/M000103.html +16 -0
- data/doc/classes/Autobuild/Exception.src/M000104.html +16 -0
- data/doc/classes/Autobuild/Exception.src/M000105.html +19 -0
- data/doc/classes/Autobuild/Exception.src/M000106.html +19 -0
- data/doc/classes/Autobuild/GenomModule.html +229 -0
- data/doc/classes/Autobuild/GenomModule.src/M000107.html +20 -0
- data/doc/classes/Autobuild/GenomModule.src/M000108.html +16 -0
- data/doc/classes/Autobuild/GenomModule.src/M000109.html +18 -0
- data/doc/classes/Autobuild/GenomModule.src/M000110.html +29 -0
- data/doc/classes/Autobuild/GenomModule.src/M000111.html +19 -0
- data/doc/classes/Autobuild/GenomModule.src/M000112.html +26 -0
- data/doc/classes/Autobuild/GenomModule.src/M000113.html +35 -0
- data/doc/classes/Autobuild/Import.html +169 -0
- data/doc/classes/Autobuild/Import.src/M000045.html +18 -0
- data/doc/classes/Autobuild/Import.src/M000046.html +18 -0
- data/doc/classes/Autobuild/Import.src/M000047.html +18 -0
- data/doc/classes/Autobuild/Importer.html +154 -0
- data/doc/classes/Autobuild/Importer.src/M000056.html +18 -0
- data/doc/classes/Autobuild/Importer.src/M000057.html +38 -0
- data/doc/classes/Autobuild/ImporterPackage.html +171 -0
- data/doc/classes/Autobuild/ImporterPackage.src/M000115.html +18 -0
- data/doc/classes/Autobuild/ImporterPackage.src/M000116.html +22 -0
- data/doc/classes/Autobuild/ImporterPackage.src/M000117.html +16 -0
- data/doc/classes/Autobuild/Interpolator.html +227 -0
- data/doc/classes/Autobuild/Interpolator.src/M000051.html +18 -0
- data/doc/classes/Autobuild/Interpolator.src/M000052.html +21 -0
- data/doc/classes/Autobuild/Interpolator.src/M000053.html +45 -0
- data/doc/classes/Autobuild/Interpolator.src/M000054.html +39 -0
- data/doc/classes/Autobuild/Interpolator.src/M000055.html +29 -0
- data/doc/classes/Autobuild/MailReporter.html +201 -0
- data/doc/classes/Autobuild/MailReporter.src/M000060.html +24 -0
- data/doc/classes/Autobuild/MailReporter.src/M000061.html +21 -0
- data/doc/classes/Autobuild/MailReporter.src/M000062.html +20 -0
- data/doc/classes/Autobuild/MailReporter.src/M000063.html +18 -0
- data/doc/classes/Autobuild/MailReporter.src/M000064.html +42 -0
- data/doc/classes/Autobuild/Options.html +137 -0
- data/doc/classes/Autobuild/Options.src/M000058.html +27 -0
- data/doc/classes/Autobuild/Package.html +313 -0
- data/doc/classes/Autobuild/Package.src/M000085.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000086.html +19 -0
- data/doc/classes/Autobuild/Package.src/M000087.html +18 -0
- data/doc/classes/Autobuild/Package.src/M000088.html +41 -0
- data/doc/classes/Autobuild/Package.src/M000089.html +22 -0
- data/doc/classes/Autobuild/Package.src/M000090.html +23 -0
- data/doc/classes/Autobuild/Package.src/M000091.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000092.html +24 -0
- data/doc/classes/Autobuild/Package.src/M000093.html +18 -0
- data/doc/classes/Autobuild/Package.src/M000094.html +23 -0
- data/doc/classes/Autobuild/PackageException.html +139 -0
- data/doc/classes/Autobuild/PackageException.src/M000059.html +16 -0
- data/doc/classes/Autobuild/Reporter.html +152 -0
- data/doc/classes/Autobuild/Reporter.src/M000074.html +16 -0
- data/doc/classes/Autobuild/Reporter.src/M000075.html +16 -0
- data/doc/classes/Autobuild/Reporting.html +197 -0
- data/doc/classes/Autobuild/Reporting.src/M000095.html +24 -0
- data/doc/classes/Autobuild/Reporting.src/M000096.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000097.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000098.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000099.html +18 -0
- data/doc/classes/Autobuild/SVNImporter.html +139 -0
- data/doc/classes/Autobuild/SVNImporter.src/M000050.html +23 -0
- data/doc/classes/Autobuild/SourceTreeTask.html +150 -0
- data/doc/classes/Autobuild/SourceTreeTask.src/M000114.html +18 -0
- data/doc/classes/Autobuild/StdoutReporter.html +154 -0
- data/doc/classes/Autobuild/StdoutReporter.src/M000072.html +18 -0
- data/doc/classes/Autobuild/StdoutReporter.src/M000073.html +18 -0
- data/doc/classes/Autobuild/SubcommandFailed.html +194 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000100.html +16 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000101.html +32 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000102.html +20 -0
- data/doc/classes/Autobuild/Subprocess.html +170 -0
- data/doc/classes/Autobuild/Subprocess.src/M000042.html +18 -0
- data/doc/classes/Autobuild/Subprocess.src/M000043.html +96 -0
- data/doc/classes/Autobuild/Subprocess/Failed.html +150 -0
- data/doc/classes/Autobuild/Subprocess/Failed.src/M000044.html +18 -0
- data/doc/classes/Autobuild/TarImporter.html +287 -0
- data/doc/classes/Autobuild/TarImporter.src/M000076.html +28 -0
- data/doc/classes/Autobuild/TarImporter.src/M000077.html +53 -0
- data/doc/classes/Autobuild/TarImporter.src/M000078.html +26 -0
- data/doc/classes/Autobuild/TarImporter.src/M000079.html +16 -0
- data/doc/classes/Autobuild/TarImporter.src/M000080.html +20 -0
- data/doc/classes/Autobuild/TarImporter.src/M000081.html +20 -0
- data/doc/classes/Autobuild/TarImporter.src/M000082.html +30 -0
- data/doc/classes/Autobuild/UndefinedVariable.html +174 -0
- data/doc/classes/Autobuild/UndefinedVariable.src/M000083.html +19 -0
- data/doc/classes/Autobuild/UndefinedVariable.src/M000084.html +18 -0
- data/doc/classes/Hash.html +152 -0
- data/doc/classes/Hash.src/M000019.html +26 -0
- data/doc/classes/Hash.src/M000020.html +23 -0
- data/doc/classes/RMail.html +111 -0
- data/doc/classes/RMail/Message.html +137 -0
- data/doc/classes/RMail/Message.src/M000033.html +25 -0
- data/doc/classes/TC_AttrDefval.html +152 -0
- data/doc/classes/TC_AttrDefval.src/M000024.html +31 -0
- data/doc/classes/TC_AttrDefval.src/M000025.html +22 -0
- data/doc/classes/TC_CVSImport.html +180 -0
- data/doc/classes/TC_CVSImport.src/M000026.html +22 -0
- data/doc/classes/TC_CVSImport.src/M000027.html +21 -0
- data/doc/classes/TC_CVSImport.src/M000028.html +36 -0
- data/doc/classes/TC_Config.html +182 -0
- data/doc/classes/TC_Config.src/M000001.html +20 -0
- data/doc/classes/TC_Config.src/M000002.html +18 -0
- data/doc/classes/TC_Config.src/M000003.html +29 -0
- data/doc/classes/TC_Config.src/M000004.html +20 -0
- data/doc/classes/TC_ConfigInterpolation.html +198 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000015.html +18 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000016.html +18 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000017.html +26 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000018.html +24 -0
- data/doc/classes/TC_SVNImport.html +180 -0
- data/doc/classes/TC_SVNImport.src/M000005.html +22 -0
- data/doc/classes/TC_SVNImport.src/M000006.html +21 -0
- data/doc/classes/TC_SVNImport.src/M000007.html +43 -0
- data/doc/classes/TC_Subcommand.html +208 -0
- data/doc/classes/TC_Subcommand.src/M000021.html +31 -0
- data/doc/classes/TC_Subcommand.src/M000022.html +18 -0
- data/doc/classes/TC_Subcommand.src/M000023.html +30 -0
- data/doc/classes/TC_TarImporter.html +247 -0
- data/doc/classes/TC_TarImporter.src/M000008.html +28 -0
- data/doc/classes/TC_TarImporter.src/M000009.html +21 -0
- data/doc/classes/TC_TarImporter.src/M000010.html +20 -0
- data/doc/classes/TC_TarImporter.src/M000011.html +20 -0
- data/doc/classes/TC_TarImporter.src/M000012.html +26 -0
- data/doc/classes/TC_TarImporter.src/M000013.html +31 -0
- data/doc/classes/TC_TarImporter.src/M000014.html +24 -0
- data/doc/classes/TestTools.html +189 -0
- data/doc/classes/TestTools.src/M000029.html +19 -0
- data/doc/classes/TestTools.src/M000030.html +18 -0
- data/doc/classes/TestTools.src/M000031.html +25 -0
- data/doc/classes/TestTools.src/M000032.html +24 -0
- data/doc/created.rid +1 -0
- data/doc/files/lib/autobuild/config-interpolator_rb.html +108 -0
- data/doc/files/lib/autobuild/config_rb.html +113 -0
- data/doc/files/lib/autobuild/environment_rb.html +101 -0
- data/doc/files/lib/autobuild/exceptions_rb.html +101 -0
- data/doc/files/lib/autobuild/import/cvs_rb.html +109 -0
- data/doc/files/lib/autobuild/import/svn_rb.html +109 -0
- data/doc/files/lib/autobuild/import/tar_rb.html +108 -0
- data/doc/files/lib/autobuild/importer_rb.html +108 -0
- data/doc/files/lib/autobuild/options_rb.html +101 -0
- data/doc/files/lib/autobuild/package_rb.html +110 -0
- data/doc/files/lib/autobuild/packages/autotools_rb.html +111 -0
- data/doc/files/lib/autobuild/packages/genom_rb.html +109 -0
- data/doc/files/lib/autobuild/packages/import_rb.html +109 -0
- data/doc/files/lib/autobuild/reporting_rb.html +113 -0
- data/doc/files/lib/autobuild/subcommand_rb.html +108 -0
- data/doc/files/lib/autobuild/timestamps_rb.html +123 -0
- data/doc/files/test/base_rb.html +113 -0
- data/doc/files/test/test_attr_defval_rb.html +109 -0
- data/doc/files/test/test_config_interpolation_rb.html +111 -0
- data/doc/files/test/test_config_rb.html +111 -0
- data/doc/files/test/test_import_cvs_rb.html +119 -0
- data/doc/files/test/test_import_svn_rb.html +119 -0
- data/doc/files/test/test_import_tar_rb.html +120 -0
- data/doc/files/test/test_subcommand_rb.html +120 -0
- data/doc/files/test/tools_rb.html +110 -0
- data/doc/fr_class_index.html +63 -0
- data/doc/fr_file_index.html +51 -0
- data/doc/fr_method_index.html +143 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/test/base.rb +8 -0
- data/test/test_attr_defval.rb +29 -0
- data/test/test_config.rb +40 -0
- data/test/test_config_interpolation.rb +57 -0
- data/test/test_import_cvs.rb +52 -0
- data/test/test_import_svn.rb +58 -0
- data/test/test_import_tar.rb +88 -0
- data/test/test_subcommand.rb +63 -0
- data/test/tools.rb +39 -0
- metadata +274 -8
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>pathvar (Autobuild)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/environment.rb, line 2</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">pathvar</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">varname</span>)
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">path</span>)
|
16
|
+
<span class="ruby-identifier">oldpath</span> = <span class="ruby-constant">ENV</span>[<span class="ruby-identifier">varname</span>]
|
17
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">oldpath</span>.<span class="ruby-identifier">empty?</span>
|
18
|
+
<span class="ruby-constant">ENV</span>[<span class="ruby-identifier">varname</span>] = <span class="ruby-identifier">path</span>
|
19
|
+
<span class="ruby-keyword kw">else</span>
|
20
|
+
<span class="ruby-constant">ENV</span>[<span class="ruby-identifier">varname</span>] = <span class="ruby-node">"#{path}:#{oldpath}"</span>
|
21
|
+
<span class="ruby-keyword kw">end</span>
|
22
|
+
<span class="ruby-keyword kw">end</span>
|
23
|
+
<span class="ruby-keyword kw">end</span></pre>
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>update_environment (Autobuild)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/environment.rb, line 13</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">update_environment</span>(<span class="ruby-identifier">newprefix</span>)
|
15
|
+
<span class="ruby-identifier">pathvar</span>(<span class="ruby-node">"#{newprefix}/bin"</span>, <span class="ruby-value str">'PATH'</span>)
|
16
|
+
<span class="ruby-identifier">pathvar</span>(<span class="ruby-node">"#{newprefix}/lib/pkgconfig"</span>, <span class="ruby-value str">'PKG_CONFIG_PATH'</span>)
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>tree_timestamp (Autobuild)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/timestamps.rb, line 8</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tree_timestamp</span>(<span class="ruby-identifier">path</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">exclude</span>)
|
15
|
+
<span class="ruby-comment cmt"># Exclude autobuild timestamps</span>
|
16
|
+
<span class="ruby-identifier">exclude</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"*-#{STAMPFILE}"</span>
|
17
|
+
|
18
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"getting tree timestamp for #{path}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
19
|
+
<span class="ruby-identifier">latest</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">0</span>)
|
20
|
+
<span class="ruby-identifier">latest_file</span> = <span class="ruby-value str">""</span>
|
21
|
+
|
22
|
+
<span class="ruby-identifier">exclude</span>.<span class="ruby-identifier">collect!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">e</span>, <span class="ruby-identifier">path</span>) }
|
23
|
+
<span class="ruby-constant">Find</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">path</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span>
|
24
|
+
<span class="ruby-constant">Find</span>.<span class="ruby-identifier">prune</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">p</span>) <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^\./</span>
|
25
|
+
<span class="ruby-identifier">exclude</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">pattern</span><span class="ruby-operator">|</span>
|
26
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">fnmatch?</span>(<span class="ruby-identifier">pattern</span>, <span class="ruby-identifier">p</span>)
|
27
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">" excluding #{p}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
28
|
+
<span class="ruby-constant">Find</span>.<span class="ruby-identifier">prune</span>
|
29
|
+
<span class="ruby-keyword kw">end</span>
|
30
|
+
}
|
31
|
+
<span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">p</span>)
|
32
|
+
|
33
|
+
<span class="ruby-identifier">p_time</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">mtime</span>(<span class="ruby-identifier">p</span>)
|
34
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">latest</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">p_time</span>
|
35
|
+
<span class="ruby-identifier">latest</span> = <span class="ruby-identifier">p_time</span>
|
36
|
+
<span class="ruby-identifier">latest_file</span> = <span class="ruby-identifier">p</span>
|
37
|
+
<span class="ruby-keyword kw">end</span>
|
38
|
+
}
|
39
|
+
|
40
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">" #{latest}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
41
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">latest</span>
|
42
|
+
<span class="ruby-keyword kw">end</span></pre>
|
43
|
+
</body>
|
44
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>source_tree (Autobuild)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/timestamps.rb, line 44</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">source_tree</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">exclude</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
15
|
+
<span class="ruby-identifier">task</span> = <span class="ruby-constant">SourceTreeTask</span>.<span class="ruby-identifier">define_task</span>(<span class="ruby-identifier">path</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
16
|
+
<span class="ruby-identifier">task</span>.<span class="ruby-identifier">exclude</span> = <span class="ruby-identifier">exclude</span>
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>get_stamp (Autobuild)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/timestamps.rb, line 49</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_stamp</span>(<span class="ruby-identifier">stampfile</span>)
|
15
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">Time</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">0</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">stampfile</span>)
|
16
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">mtime</span>(<span class="ruby-identifier">stampfile</span>)
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>touch_stamp (Autobuild)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/timestamps.rb, line 54</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">touch_stamp</span>(<span class="ruby-identifier">stampfile</span>)
|
15
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Touching #{stampfile}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
16
|
+
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">touch</span>(<span class="ruby-identifier">stampfile</span>)
|
17
|
+
<span class="ruby-identifier">sleep</span>(<span class="ruby-value">1</span>)
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,284 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Autobuild::Autotools</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Autobuild::Autotools</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/autobuild/packages/autotools_rb.html">
|
59
|
+
lib/autobuild/packages/autotools.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="Package.html">
|
69
|
+
Package
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
|
83
|
+
<div id="description">
|
84
|
+
<h4>Handles autotools-based packages</h4>
|
85
|
+
<h2>Used programs</h2>
|
86
|
+
<ul>
|
87
|
+
<li>aclocal, autoheader, autoconf, automake
|
88
|
+
|
89
|
+
</li>
|
90
|
+
</ul>
|
91
|
+
<h2>Available options</h2>
|
92
|
+
<ul>
|
93
|
+
<li>aclocal (default: true if autoconf is enabled, false otherwise) run aclocal
|
94
|
+
|
95
|
+
</li>
|
96
|
+
<li>autoconf (default: autodetect) run autoconf. Will be enabled if there is
|
97
|
+
+configure.in+ or +configure.ac+ in the source directory
|
98
|
+
|
99
|
+
</li>
|
100
|
+
<li>autoheader (default: false) run autoheader
|
101
|
+
|
102
|
+
</li>
|
103
|
+
<li>automake (default: autodetect) run automake. Will run automake if there is
|
104
|
+
a +Makefile.am+ in the source directory
|
105
|
+
|
106
|
+
</li>
|
107
|
+
</ul>
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
|
114
|
+
<div id="method-list">
|
115
|
+
<h3 class="section-bar">Methods</h3>
|
116
|
+
|
117
|
+
<div class="name-list">
|
118
|
+
<a href="#M000070">build</a>
|
119
|
+
<a href="#M000065">buildstamp</a>
|
120
|
+
<a href="#M000069">configure</a>
|
121
|
+
<a href="#M000071">install</a>
|
122
|
+
<a href="#M000066">new</a>
|
123
|
+
<a href="#M000067">prepare</a>
|
124
|
+
<a href="#M000068">regen_targets</a>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
|
131
|
+
<!-- if includes -->
|
132
|
+
|
133
|
+
<div id="section">
|
134
|
+
|
135
|
+
|
136
|
+
<div id="constants-list">
|
137
|
+
<h3 class="section-bar">Constants</h3>
|
138
|
+
|
139
|
+
<div class="name-list">
|
140
|
+
<table summary="Constants">
|
141
|
+
<tr class="top-aligned-row context-row">
|
142
|
+
<td class="context-item-name">DefaultOptions</td>
|
143
|
+
<td>=</td>
|
144
|
+
<td class="context-item-value">{ :autoheader => false, :aclocal => nil, :autoconf => nil, :automake => nil, :builddir => 'build'</td>
|
145
|
+
</tr>
|
146
|
+
</table>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
<div id="attribute-list">
|
153
|
+
<h3 class="section-bar">Attributes</h3>
|
154
|
+
|
155
|
+
<div class="name-list">
|
156
|
+
<table>
|
157
|
+
<tr class="top-aligned-row context-row">
|
158
|
+
<td class="context-item-name">builddir</td>
|
159
|
+
<td class="context-item-value"> [R] </td>
|
160
|
+
<td class="context-item-desc"></td>
|
161
|
+
</tr>
|
162
|
+
</table>
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
<!-- if method_list -->
|
169
|
+
<div id="methods">
|
170
|
+
<h3 class="section-bar">Public Class methods</h3>
|
171
|
+
|
172
|
+
<div id="method-M000066" class="method-detail">
|
173
|
+
<a name="M000066"></a>
|
174
|
+
|
175
|
+
<div class="method-heading">
|
176
|
+
<a href="Autotools.src/M000066.html" target="Code" class="method-signature"
|
177
|
+
onclick="popupCode('Autotools.src/M000066.html');return false;">
|
178
|
+
<span class="method-name">new</span><span class="method-args">(target, options)</span>
|
179
|
+
</a>
|
180
|
+
</div>
|
181
|
+
|
182
|
+
<div class="method-description">
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
187
|
+
|
188
|
+
<div id="method-M000070" class="method-detail">
|
189
|
+
<a name="M000070"></a>
|
190
|
+
|
191
|
+
<div class="method-heading">
|
192
|
+
<a href="Autotools.src/M000070.html" target="Code" class="method-signature"
|
193
|
+
onclick="popupCode('Autotools.src/M000070.html');return false;">
|
194
|
+
<span class="method-name">build</span><span class="method-args">()</span>
|
195
|
+
</a>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
<div class="method-description">
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
|
202
|
+
<div id="method-M000065" class="method-detail">
|
203
|
+
<a name="M000065"></a>
|
204
|
+
|
205
|
+
<div class="method-heading">
|
206
|
+
<a href="Autotools.src/M000065.html" target="Code" class="method-signature"
|
207
|
+
onclick="popupCode('Autotools.src/M000065.html');return false;">
|
208
|
+
<span class="method-name">buildstamp</span><span class="method-args">()</span>
|
209
|
+
</a>
|
210
|
+
</div>
|
211
|
+
|
212
|
+
<div class="method-description">
|
213
|
+
</div>
|
214
|
+
</div>
|
215
|
+
|
216
|
+
<div id="method-M000069" class="method-detail">
|
217
|
+
<a name="M000069"></a>
|
218
|
+
|
219
|
+
<div class="method-heading">
|
220
|
+
<a href="Autotools.src/M000069.html" target="Code" class="method-signature"
|
221
|
+
onclick="popupCode('Autotools.src/M000069.html');return false;">
|
222
|
+
<span class="method-name">configure</span><span class="method-args">()</span>
|
223
|
+
</a>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div class="method-description">
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
|
230
|
+
<div id="method-M000071" class="method-detail">
|
231
|
+
<a name="M000071"></a>
|
232
|
+
|
233
|
+
<div class="method-heading">
|
234
|
+
<a href="Autotools.src/M000071.html" target="Code" class="method-signature"
|
235
|
+
onclick="popupCode('Autotools.src/M000071.html');return false;">
|
236
|
+
<span class="method-name">install</span><span class="method-args">()</span>
|
237
|
+
</a>
|
238
|
+
</div>
|
239
|
+
|
240
|
+
<div class="method-description">
|
241
|
+
</div>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
<div id="method-M000067" class="method-detail">
|
245
|
+
<a name="M000067"></a>
|
246
|
+
|
247
|
+
<div class="method-heading">
|
248
|
+
<a href="Autotools.src/M000067.html" target="Code" class="method-signature"
|
249
|
+
onclick="popupCode('Autotools.src/M000067.html');return false;">
|
250
|
+
<span class="method-name">prepare</span><span class="method-args">()</span>
|
251
|
+
</a>
|
252
|
+
</div>
|
253
|
+
|
254
|
+
<div class="method-description">
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
<div id="method-M000068" class="method-detail">
|
259
|
+
<a name="M000068"></a>
|
260
|
+
|
261
|
+
<div class="method-heading">
|
262
|
+
<a href="Autotools.src/M000068.html" target="Code" class="method-signature"
|
263
|
+
onclick="popupCode('Autotools.src/M000068.html');return false;">
|
264
|
+
<span class="method-name">regen_targets</span><span class="method-args">()</span>
|
265
|
+
</a>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
<div class="method-description">
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
|
272
|
+
|
273
|
+
</div>
|
274
|
+
|
275
|
+
|
276
|
+
</div>
|
277
|
+
|
278
|
+
|
279
|
+
<div id="validator-badges">
|
280
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
281
|
+
</div>
|
282
|
+
|
283
|
+
</body>
|
284
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>buildstamp (Autobuild::Autotools)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/packages/autotools.rb, line 34</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">buildstamp</span>
|
15
|
+
<span class="ruby-node">"#{builddir}/#{target}-#{STAMPFILE}"</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|