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
data/CHANGES
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
= Autobuild changelog
|
2
2
|
|
3
|
+
== Version 0.5.1
|
4
|
+
|
5
|
+
Fixes the release process, in which the bin/ directory was not distributed
|
6
|
+
|
7
|
+
* 0.5 gem did not include bin/autobuild (which obviously was not good). Fix that
|
8
|
+
|
9
|
+
|
10
|
+
|
3
11
|
== Version 0.5
|
4
12
|
|
5
13
|
Fixes the mail default behaviour. Added the 'tar' importer.
|
data/Rakefile
CHANGED
@@ -26,9 +26,10 @@ require 'rake/rdoctask'
|
|
26
26
|
#
|
27
27
|
# REMEMBER TO KEEP PKG_VERSION IN SYNC WITH THE CHANGES FILE!
|
28
28
|
PKG_NAME = "autobuild"
|
29
|
-
PKG_VERSION = "0.5"
|
29
|
+
PKG_VERSION = "0.5.1"
|
30
30
|
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
|
31
31
|
PKG_FILES = FileList[
|
32
|
+
'bin/*',
|
32
33
|
'[A-Z]*',
|
33
34
|
'lib/**/*.rb',
|
34
35
|
'doc/**/*'
|
@@ -66,9 +67,6 @@ It can be used in software development to make sure that nothing is broken in th
|
|
66
67
|
build process of a set of packages, or can be used as an automated installation tool.
|
67
68
|
EOF
|
68
69
|
|
69
|
-
s.files = PKG_FILES.to_a
|
70
|
-
s.require_path = 'lib'
|
71
|
-
|
72
70
|
#### Documentation and testing.
|
73
71
|
|
74
72
|
s.has_rdoc = true
|
@@ -83,6 +81,16 @@ EOF
|
|
83
81
|
s.email = "sylvain.joyeux@m4x.org"
|
84
82
|
s.homepage = "http://autobuild.rubyforge.org"
|
85
83
|
s.rubyforge_project = "autobuild"
|
84
|
+
|
85
|
+
#### Advanced project information
|
86
|
+
s.platform = Gem::Platform::RUBY
|
87
|
+
s.require_paths << "lib"
|
88
|
+
s.add_dependency('rake', '>= 0.6.0')
|
89
|
+
s.add_dependency('rmail')
|
90
|
+
s.add_dependency('daemons')
|
91
|
+
s.files = PKG_FILES.to_a
|
92
|
+
s.test_files = FileList['test/*' ]
|
93
|
+
s.executables = 'autobuild'
|
86
94
|
end
|
87
95
|
|
88
96
|
# Fix 1.8.4 - 1.8.3 issue
|
@@ -109,25 +117,25 @@ task :todo do
|
|
109
117
|
end
|
110
118
|
end
|
111
119
|
|
112
|
-
task :release => [:release_files, :publish_doc, :tag] # :publish_news,
|
120
|
+
task :release => [:verify_env_vars, :release_files, :publish_doc, :tag] # :publish_news,
|
113
121
|
|
114
122
|
task :verify_env_vars do
|
115
123
|
raise "RUBYFORGE_USER environment variable not set!" unless ENV['RUBYFORGE_USER']
|
116
124
|
raise "RUBYFORGE_PASSWORD environment variable not set!" unless ENV['RUBYFORGE_PASSWORD']
|
117
125
|
end
|
118
126
|
|
119
|
-
task :publish_doc
|
120
|
-
publisher = Rake::RubyForgePublisher.new('
|
127
|
+
task :publish_doc do
|
128
|
+
publisher = Rake::RubyForgePublisher.new('xforge', ENV['RUBYFORGE_USER'])
|
121
129
|
publisher.upload
|
122
130
|
end
|
123
131
|
|
124
132
|
desc "Release files on RubyForge"
|
125
|
-
task :release_files => [:gem
|
133
|
+
task :release_files => [:gem] do
|
126
134
|
release_files = FileList[
|
127
135
|
"pkg/#{PKG_FILE_NAME}.gem"
|
128
136
|
]
|
129
137
|
|
130
|
-
Rake::XForge::Release.new(MetaProject::Project::XForge::RubyForge.new('
|
138
|
+
Rake::XForge::Release.new(MetaProject::Project::XForge::RubyForge.new('xforge')) do |release|
|
131
139
|
# Never hardcode user name and password in the Rakefile!
|
132
140
|
release.user_name = ENV['RUBYFORGE_USER']
|
133
141
|
release.password = ENV['RUBYFORGE_PASSWORD']
|
@@ -138,12 +146,12 @@ task :release_files => [:gem, :verify_env_vars] do
|
|
138
146
|
end
|
139
147
|
|
140
148
|
desc "Publish news on RubyForge"
|
141
|
-
task :publish_news => [:gem
|
149
|
+
task :publish_news => [:gem] do
|
142
150
|
release_files = FileList[
|
143
151
|
"pkg/#{PKG_FILE_NAME}.gem"
|
144
152
|
]
|
145
153
|
|
146
|
-
Rake::XForge::NewsPublisher.new(MetaProject::Project::XForge::RubyForge.new('
|
154
|
+
Rake::XForge::NewsPublisher.new(MetaProject::Project::XForge::RubyForge.new('xforge')) do |news|
|
147
155
|
# Never hardcode user name and password in the Rakefile!
|
148
156
|
news.user_name = ENV['RUBYFORGE_USER']
|
149
157
|
news.password = ENV['RUBYFORGE_PASSWORD']
|
data/bin/autobuild
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
#! /usr/bin/ruby
|
2
|
+
|
3
|
+
# :main: README
|
4
|
+
|
5
|
+
require 'rake'
|
6
|
+
require 'ostruct'
|
7
|
+
require 'optparse'
|
8
|
+
|
9
|
+
require 'autobuild/options'
|
10
|
+
require 'autobuild/config'
|
11
|
+
require 'autobuild/reporting'
|
12
|
+
require 'daemons'
|
13
|
+
|
14
|
+
include Autobuild
|
15
|
+
|
16
|
+
DEFAULT_HTTP_PORT = 2000
|
17
|
+
|
18
|
+
def parse_options(args)
|
19
|
+
options = Options.default
|
20
|
+
|
21
|
+
parser = OptionParser.new do |opts|
|
22
|
+
opts.banner = "Usage: autobuild [options] <config file>"
|
23
|
+
|
24
|
+
opts.separator ""
|
25
|
+
opts.separator "Path specification"
|
26
|
+
opts.on("--srcdir PATH", "sources are installed in PATH") do |options.srcdir| end
|
27
|
+
opts.on("--prefix PATH", "built packages are installed in PATH") do |options.prefix|
|
28
|
+
options.logdir = "#{options.prefix}/autobuild"
|
29
|
+
end
|
30
|
+
opts.on("--logdir PATH", "logs are saved in PATH (default: <prefix>/autobuild)") do |options.logdir| end
|
31
|
+
|
32
|
+
opts.separator ""
|
33
|
+
opts.separator "General behaviour"
|
34
|
+
opts.on('--nice NICE', Integer, 'nice the subprocesses to the given value') do |options.nice| end
|
35
|
+
opts.on("--[no-]daemon", "go into daemon mode") do |options.daemonize| end
|
36
|
+
opts.on("--[no-]update", "update already checked-out sources") do |options.update| end
|
37
|
+
opts.on("--[no-]build", "only prepare packages, do not build them") do |options.do_build| end
|
38
|
+
|
39
|
+
opts.separator ""
|
40
|
+
opts.separator "Program output"
|
41
|
+
opts.on("--[no-]verbose", "display output of commands on stdout") do |options.verbose| end
|
42
|
+
opts.on("--[no-]debug", "verbose information (for debugging purposes)") do |options.debug| end
|
43
|
+
|
44
|
+
opts.on_tail("-h", "--help", "Show this message") do
|
45
|
+
puts opts
|
46
|
+
exit
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
parser.parse!(args)
|
51
|
+
if !args[0]
|
52
|
+
puts parser
|
53
|
+
exit
|
54
|
+
end
|
55
|
+
|
56
|
+
[ options, args[0], args[1..-1] ]
|
57
|
+
end
|
58
|
+
|
59
|
+
# Load the command line options
|
60
|
+
options, conffile, targets = parse_options(ARGV)
|
61
|
+
|
62
|
+
# make conffile an absolute path since daemonize mode makes
|
63
|
+
# / the current directory
|
64
|
+
conffile = File.expand_path(conffile, Dir.pwd)
|
65
|
+
if options.daemonize
|
66
|
+
puts "Going into daemon mode ..."
|
67
|
+
Daemons.daemonize
|
68
|
+
end
|
69
|
+
|
70
|
+
Reporting << StdoutReporter.new
|
71
|
+
begin
|
72
|
+
Reporting.report do
|
73
|
+
begin
|
74
|
+
File.open(conffile) do |f|
|
75
|
+
Autobuild::Config.load(f, options)
|
76
|
+
end
|
77
|
+
|
78
|
+
if options.do_build
|
79
|
+
if targets.empty?
|
80
|
+
Rake::Task[:default].invoke
|
81
|
+
else
|
82
|
+
targets.each { |t| Rake::Task[t.to_sym].invoke }
|
83
|
+
end
|
84
|
+
end
|
85
|
+
rescue ConfigException => e
|
86
|
+
e.target = conffile
|
87
|
+
raise
|
88
|
+
end
|
89
|
+
Reporting.success
|
90
|
+
end
|
91
|
+
rescue Interrupt
|
92
|
+
end
|
93
|
+
|
94
|
+
|
@@ -0,0 +1,294 @@
|
|
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>Module: Autobuild</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>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Autobuild</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/autobuild/config-interpolator_rb.html">
|
59
|
+
lib/autobuild/config-interpolator.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../files/lib/autobuild/import/svn_rb.html">
|
63
|
+
lib/autobuild/import/svn.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../files/lib/autobuild/import/cvs_rb.html">
|
67
|
+
lib/autobuild/import/cvs.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
<a href="../files/lib/autobuild/import/tar_rb.html">
|
71
|
+
lib/autobuild/import/tar.rb
|
72
|
+
</a>
|
73
|
+
<br />
|
74
|
+
<a href="../files/lib/autobuild/options_rb.html">
|
75
|
+
lib/autobuild/options.rb
|
76
|
+
</a>
|
77
|
+
<br />
|
78
|
+
<a href="../files/lib/autobuild/environment_rb.html">
|
79
|
+
lib/autobuild/environment.rb
|
80
|
+
</a>
|
81
|
+
<br />
|
82
|
+
<a href="../files/lib/autobuild/reporting_rb.html">
|
83
|
+
lib/autobuild/reporting.rb
|
84
|
+
</a>
|
85
|
+
<br />
|
86
|
+
<a href="../files/lib/autobuild/timestamps_rb.html">
|
87
|
+
lib/autobuild/timestamps.rb
|
88
|
+
</a>
|
89
|
+
<br />
|
90
|
+
<a href="../files/lib/autobuild/packages/import_rb.html">
|
91
|
+
lib/autobuild/packages/import.rb
|
92
|
+
</a>
|
93
|
+
<br />
|
94
|
+
<a href="../files/lib/autobuild/packages/autotools_rb.html">
|
95
|
+
lib/autobuild/packages/autotools.rb
|
96
|
+
</a>
|
97
|
+
<br />
|
98
|
+
<a href="../files/lib/autobuild/packages/genom_rb.html">
|
99
|
+
lib/autobuild/packages/genom.rb
|
100
|
+
</a>
|
101
|
+
<br />
|
102
|
+
<a href="../files/lib/autobuild/exceptions_rb.html">
|
103
|
+
lib/autobuild/exceptions.rb
|
104
|
+
</a>
|
105
|
+
<br />
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
|
109
|
+
</table>
|
110
|
+
</div>
|
111
|
+
<!-- banner header -->
|
112
|
+
|
113
|
+
<div id="bodyContent">
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
<div id="contextContent">
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<div id="method-list">
|
124
|
+
<h3 class="section-bar">Methods</h3>
|
125
|
+
|
126
|
+
<div class="name-list">
|
127
|
+
<a href="#M000038">get_stamp</a>
|
128
|
+
<a href="#M000034">pathvar</a>
|
129
|
+
<a href="#M000037">source_tree</a>
|
130
|
+
<a href="#M000039">touch_stamp</a>
|
131
|
+
<a href="#M000036">tree_timestamp</a>
|
132
|
+
<a href="#M000035">update_environment</a>
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
</div>
|
137
|
+
|
138
|
+
|
139
|
+
<!-- if includes -->
|
140
|
+
|
141
|
+
<div id="section">
|
142
|
+
|
143
|
+
<div id="class-list">
|
144
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
145
|
+
|
146
|
+
Module <a href="Autobuild/Config.html" class="link">Autobuild::Config</a><br />
|
147
|
+
Module <a href="Autobuild/Import.html" class="link">Autobuild::Import</a><br />
|
148
|
+
Module <a href="Autobuild/Subprocess.html" class="link">Autobuild::Subprocess</a><br />
|
149
|
+
Class <a href="Autobuild/Autotools.html" class="link">Autobuild::Autotools</a><br />
|
150
|
+
Class <a href="Autobuild/CVSImporter.html" class="link">Autobuild::CVSImporter</a><br />
|
151
|
+
Class <a href="Autobuild/CommandNotFound.html" class="link">Autobuild::CommandNotFound</a><br />
|
152
|
+
Class <a href="Autobuild/ConfigException.html" class="link">Autobuild::ConfigException</a><br />
|
153
|
+
Class <a href="Autobuild/Exception.html" class="link">Autobuild::Exception</a><br />
|
154
|
+
Class <a href="Autobuild/GenomModule.html" class="link">Autobuild::GenomModule</a><br />
|
155
|
+
Class <a href="Autobuild/Importer.html" class="link">Autobuild::Importer</a><br />
|
156
|
+
Class <a href="Autobuild/ImporterPackage.html" class="link">Autobuild::ImporterPackage</a><br />
|
157
|
+
Class <a href="Autobuild/Interpolator.html" class="link">Autobuild::Interpolator</a><br />
|
158
|
+
Class <a href="Autobuild/MailReporter.html" class="link">Autobuild::MailReporter</a><br />
|
159
|
+
Class <a href="Autobuild/Options.html" class="link">Autobuild::Options</a><br />
|
160
|
+
Class <a href="Autobuild/Package.html" class="link">Autobuild::Package</a><br />
|
161
|
+
Class <a href="Autobuild/PackageException.html" class="link">Autobuild::PackageException</a><br />
|
162
|
+
Class <a href="Autobuild/Reporter.html" class="link">Autobuild::Reporter</a><br />
|
163
|
+
Class <a href="Autobuild/Reporting.html" class="link">Autobuild::Reporting</a><br />
|
164
|
+
Class <a href="Autobuild/SVNImporter.html" class="link">Autobuild::SVNImporter</a><br />
|
165
|
+
Class <a href="Autobuild/SourceTreeTask.html" class="link">Autobuild::SourceTreeTask</a><br />
|
166
|
+
Class <a href="Autobuild/StdoutReporter.html" class="link">Autobuild::StdoutReporter</a><br />
|
167
|
+
Class <a href="Autobuild/SubcommandFailed.html" class="link">Autobuild::SubcommandFailed</a><br />
|
168
|
+
Class <a href="Autobuild/TarImporter.html" class="link">Autobuild::TarImporter</a><br />
|
169
|
+
Class <a href="Autobuild/UndefinedVariable.html" class="link">Autobuild::UndefinedVariable</a><br />
|
170
|
+
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<div id="constants-list">
|
174
|
+
<h3 class="section-bar">Constants</h3>
|
175
|
+
|
176
|
+
<div class="name-list">
|
177
|
+
<table summary="Constants">
|
178
|
+
<tr class="top-aligned-row context-row">
|
179
|
+
<td class="context-item-name">Options</td>
|
180
|
+
<td>=</td>
|
181
|
+
<td class="context-item-value">Struct.new( :update, :nice, :srcdir, :prefix, :builddir, :logdir, :verbose, :debug, :do_build, :daemonize, :use_http )</td>
|
182
|
+
</tr>
|
183
|
+
</table>
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
<!-- if method_list -->
|
193
|
+
<div id="methods">
|
194
|
+
<h3 class="section-bar">Public Class methods</h3>
|
195
|
+
|
196
|
+
<div id="method-M000034" class="method-detail">
|
197
|
+
<a name="M000034"></a>
|
198
|
+
|
199
|
+
<div class="method-heading">
|
200
|
+
<a href="Autobuild.src/M000034.html" target="Code" class="method-signature"
|
201
|
+
onclick="popupCode('Autobuild.src/M000034.html');return false;">
|
202
|
+
<span class="method-name">pathvar</span><span class="method-args">(path, varname)</span>
|
203
|
+
</a>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
<div class="method-description">
|
207
|
+
</div>
|
208
|
+
</div>
|
209
|
+
|
210
|
+
<div id="method-M000035" class="method-detail">
|
211
|
+
<a name="M000035"></a>
|
212
|
+
|
213
|
+
<div class="method-heading">
|
214
|
+
<a href="Autobuild.src/M000035.html" target="Code" class="method-signature"
|
215
|
+
onclick="popupCode('Autobuild.src/M000035.html');return false;">
|
216
|
+
<span class="method-name">update_environment</span><span class="method-args">(newprefix)</span>
|
217
|
+
</a>
|
218
|
+
</div>
|
219
|
+
|
220
|
+
<div class="method-description">
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
|
224
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
225
|
+
|
226
|
+
<div id="method-M000038" class="method-detail">
|
227
|
+
<a name="M000038"></a>
|
228
|
+
|
229
|
+
<div class="method-heading">
|
230
|
+
<a href="Autobuild.src/M000038.html" target="Code" class="method-signature"
|
231
|
+
onclick="popupCode('Autobuild.src/M000038.html');return false;">
|
232
|
+
<span class="method-name">get_stamp</span><span class="method-args">(stampfile)</span>
|
233
|
+
</a>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div class="method-description">
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
|
240
|
+
<div id="method-M000037" class="method-detail">
|
241
|
+
<a name="M000037"></a>
|
242
|
+
|
243
|
+
<div class="method-heading">
|
244
|
+
<a href="Autobuild.src/M000037.html" target="Code" class="method-signature"
|
245
|
+
onclick="popupCode('Autobuild.src/M000037.html');return false;">
|
246
|
+
<span class="method-name">source_tree</span><span class="method-args">(path, exclude, &block)</span>
|
247
|
+
</a>
|
248
|
+
</div>
|
249
|
+
|
250
|
+
<div class="method-description">
|
251
|
+
</div>
|
252
|
+
</div>
|
253
|
+
|
254
|
+
<div id="method-M000039" class="method-detail">
|
255
|
+
<a name="M000039"></a>
|
256
|
+
|
257
|
+
<div class="method-heading">
|
258
|
+
<a href="Autobuild.src/M000039.html" target="Code" class="method-signature"
|
259
|
+
onclick="popupCode('Autobuild.src/M000039.html');return false;">
|
260
|
+
<span class="method-name">touch_stamp</span><span class="method-args">(stampfile)</span>
|
261
|
+
</a>
|
262
|
+
</div>
|
263
|
+
|
264
|
+
<div class="method-description">
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
<div id="method-M000036" class="method-detail">
|
269
|
+
<a name="M000036"></a>
|
270
|
+
|
271
|
+
<div class="method-heading">
|
272
|
+
<a href="Autobuild.src/M000036.html" target="Code" class="method-signature"
|
273
|
+
onclick="popupCode('Autobuild.src/M000036.html');return false;">
|
274
|
+
<span class="method-name">tree_timestamp</span><span class="method-args">(path, *exclude)</span>
|
275
|
+
</a>
|
276
|
+
</div>
|
277
|
+
|
278
|
+
<div class="method-description">
|
279
|
+
</div>
|
280
|
+
</div>
|
281
|
+
|
282
|
+
|
283
|
+
</div>
|
284
|
+
|
285
|
+
|
286
|
+
</div>
|
287
|
+
|
288
|
+
|
289
|
+
<div id="validator-badges">
|
290
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
291
|
+
</div>
|
292
|
+
|
293
|
+
</body>
|
294
|
+
</html>
|