autobuild 0.6 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +21 -0
- data/Manifest.txt +34 -0
- data/{README → README.txt} +0 -0
- data/Rakefile +13 -156
- data/bin/autobuild +3 -1
- data/lib/autobuild/import/cvs.rb +8 -2
- data/lib/autobuild/import/svn.rb +6 -0
- data/lib/autobuild/packages/autotools.rb +2 -1
- data/lib/autobuild/packages/genom.rb +35 -7
- data/lib/autobuild/packages/import.rb +1 -2
- data/lib/autobuild/packages/pkgconfig.rb +24 -0
- data/lib/autobuild/packages/ruby.rb +53 -0
- data/lib/autobuild/pkgconfig.rb +43 -0
- data/lib/autobuild/reporting.rb +1 -1
- data/lib/autobuild/subcommand.rb +3 -0
- data/lib/autobuild/timestamps.rb +4 -4
- data/samples/demo.rb +25 -0
- data/test/data/cvsroot.tar +0 -0
- data/test/data/svnroot.tar +0 -0
- data/test/data/tarimport.tar.gz +0 -0
- data/test/test_import_svn.rb +1 -1
- data/test/test_subcommand.rb +6 -3
- metadata +40 -369
- data/doc/classes/Autobuild.html +0 -557
- data/doc/classes/Autobuild.src/M000005.html +0 -31
- data/doc/classes/Autobuild.src/M000006.html +0 -47
- data/doc/classes/Autobuild.src/M000007.html +0 -18
- data/doc/classes/Autobuild.src/M000008.html +0 -18
- data/doc/classes/Autobuild.src/M000009.html +0 -18
- data/doc/classes/Autobuild.src/M000010.html +0 -18
- data/doc/classes/Autobuild.src/M000011.html +0 -18
- data/doc/classes/Autobuild.src/M000012.html +0 -18
- data/doc/classes/Autobuild.src/M000013.html +0 -25
- data/doc/classes/Autobuild.src/M000014.html +0 -19
- data/doc/classes/Autobuild.src/M000015.html +0 -19
- data/doc/classes/Autobuild.src/M000016.html +0 -16
- data/doc/classes/Autobuild.src/M000017.html +0 -20
- data/doc/classes/Autobuild.src/M000018.html +0 -18
- data/doc/classes/Autobuild.src/M000019.html +0 -52
- data/doc/classes/Autobuild.src/M000020.html +0 -44
- data/doc/classes/Autobuild.src/M000021.html +0 -19
- data/doc/classes/Autobuild.src/M000022.html +0 -19
- data/doc/classes/Autobuild.src/M000023.html +0 -20
- data/doc/classes/Autobuild.src/M000024.html +0 -22
- data/doc/classes/Autobuild.src/M000033.html +0 -31
- data/doc/classes/Autobuild.src/M000034.html +0 -47
- data/doc/classes/Autobuild.src/M000035.html +0 -18
- data/doc/classes/Autobuild.src/M000036.html +0 -18
- data/doc/classes/Autobuild.src/M000037.html +0 -18
- data/doc/classes/Autobuild.src/M000038.html +0 -18
- data/doc/classes/Autobuild.src/M000039.html +0 -18
- data/doc/classes/Autobuild.src/M000040.html +0 -18
- data/doc/classes/Autobuild.src/M000041.html +0 -25
- data/doc/classes/Autobuild.src/M000042.html +0 -19
- data/doc/classes/Autobuild.src/M000043.html +0 -19
- data/doc/classes/Autobuild.src/M000044.html +0 -16
- data/doc/classes/Autobuild.src/M000045.html +0 -20
- data/doc/classes/Autobuild.src/M000046.html +0 -18
- data/doc/classes/Autobuild.src/M000047.html +0 -52
- data/doc/classes/Autobuild.src/M000048.html +0 -44
- data/doc/classes/Autobuild.src/M000049.html +0 -19
- data/doc/classes/Autobuild.src/M000050.html +0 -19
- data/doc/classes/Autobuild.src/M000051.html +0 -20
- data/doc/classes/Autobuild.src/M000052.html +0 -22
- data/doc/classes/Autobuild/Autotools.html +0 -329
- data/doc/classes/Autobuild/Autotools.src/M000055.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000056.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000057.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000058.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000059.html +0 -22
- data/doc/classes/Autobuild/Autotools.src/M000060.html +0 -29
- data/doc/classes/Autobuild/Autotools.src/M000061.html +0 -21
- data/doc/classes/Autobuild/Autotools.src/M000062.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000063.html +0 -32
- data/doc/classes/Autobuild/Autotools.src/M000083.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000084.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000085.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000086.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000087.html +0 -22
- data/doc/classes/Autobuild/Autotools.src/M000088.html +0 -29
- data/doc/classes/Autobuild/Autotools.src/M000089.html +0 -21
- data/doc/classes/Autobuild/Autotools.src/M000090.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000091.html +0 -32
- data/doc/classes/Autobuild/CVSImporter.html +0 -156
- data/doc/classes/Autobuild/CVSImporter.src/M000036.html +0 -26
- data/doc/classes/Autobuild/CVSImporter.src/M000037.html +0 -18
- data/doc/classes/Autobuild/CVSImporter.src/M000064.html +0 -26
- data/doc/classes/Autobuild/CVSImporter.src/M000065.html +0 -18
- data/doc/classes/Autobuild/CommandNotFound.html +0 -119
- data/doc/classes/Autobuild/ConfigException.html +0 -119
- data/doc/classes/Autobuild/DarcsImporter.html +0 -139
- data/doc/classes/Autobuild/DarcsImporter.src/M000044.html +0 -20
- data/doc/classes/Autobuild/DarcsImporter.src/M000072.html +0 -20
- data/doc/classes/Autobuild/Exception.html +0 -233
- data/doc/classes/Autobuild/Exception.src/M000087.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000088.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000089.html +0 -18
- data/doc/classes/Autobuild/Exception.src/M000090.html +0 -24
- data/doc/classes/Autobuild/Exception.src/M000115.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000116.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000117.html +0 -18
- data/doc/classes/Autobuild/Exception.src/M000118.html +0 -24
- data/doc/classes/Autobuild/GenomModule.html +0 -275
- data/doc/classes/Autobuild/GenomModule.src/M000091.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000092.html +0 -21
- data/doc/classes/Autobuild/GenomModule.src/M000093.html +0 -16
- data/doc/classes/Autobuild/GenomModule.src/M000094.html +0 -18
- data/doc/classes/Autobuild/GenomModule.src/M000095.html +0 -27
- data/doc/classes/Autobuild/GenomModule.src/M000096.html +0 -24
- data/doc/classes/Autobuild/GenomModule.src/M000097.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000098.html +0 -36
- data/doc/classes/Autobuild/GenomModule.src/M000119.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000120.html +0 -21
- data/doc/classes/Autobuild/GenomModule.src/M000121.html +0 -16
- data/doc/classes/Autobuild/GenomModule.src/M000122.html +0 -18
- data/doc/classes/Autobuild/GenomModule.src/M000123.html +0 -27
- data/doc/classes/Autobuild/GenomModule.src/M000124.html +0 -24
- data/doc/classes/Autobuild/GenomModule.src/M000125.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000126.html +0 -36
- data/doc/classes/Autobuild/Import.html +0 -131
- data/doc/classes/Autobuild/Import.src/M000033.html +0 -18
- data/doc/classes/Autobuild/Import.src/M000061.html +0 -18
- data/doc/classes/Autobuild/Importer.html +0 -154
- data/doc/classes/Autobuild/Importer.src/M000034.html +0 -18
- data/doc/classes/Autobuild/Importer.src/M000035.html +0 -38
- data/doc/classes/Autobuild/Importer.src/M000062.html +0 -18
- data/doc/classes/Autobuild/Importer.src/M000063.html +0 -38
- data/doc/classes/Autobuild/ImporterPackage.html +0 -171
- data/doc/classes/Autobuild/ImporterPackage.src/M000099.html +0 -18
- data/doc/classes/Autobuild/ImporterPackage.src/M000100.html +0 -22
- data/doc/classes/Autobuild/ImporterPackage.src/M000101.html +0 -16
- data/doc/classes/Autobuild/ImporterPackage.src/M000127.html +0 -18
- data/doc/classes/Autobuild/ImporterPackage.src/M000128.html +0 -22
- data/doc/classes/Autobuild/ImporterPackage.src/M000129.html +0 -16
- data/doc/classes/Autobuild/Interpolator.html +0 -227
- data/doc/classes/Autobuild/Interpolator.src/M000039.html +0 -18
- data/doc/classes/Autobuild/Interpolator.src/M000040.html +0 -21
- data/doc/classes/Autobuild/Interpolator.src/M000041.html +0 -45
- data/doc/classes/Autobuild/Interpolator.src/M000042.html +0 -39
- data/doc/classes/Autobuild/Interpolator.src/M000043.html +0 -29
- data/doc/classes/Autobuild/Interpolator.src/M000067.html +0 -18
- data/doc/classes/Autobuild/Interpolator.src/M000068.html +0 -21
- data/doc/classes/Autobuild/Interpolator.src/M000069.html +0 -45
- data/doc/classes/Autobuild/Interpolator.src/M000070.html +0 -39
- data/doc/classes/Autobuild/Interpolator.src/M000071.html +0 -29
- data/doc/classes/Autobuild/MailReporter.html +0 -207
- data/doc/classes/Autobuild/MailReporter.src/M000045.html +0 -24
- data/doc/classes/Autobuild/MailReporter.src/M000046.html +0 -21
- data/doc/classes/Autobuild/MailReporter.src/M000047.html +0 -20
- data/doc/classes/Autobuild/MailReporter.src/M000048.html +0 -18
- data/doc/classes/Autobuild/MailReporter.src/M000049.html +0 -42
- data/doc/classes/Autobuild/MailReporter.src/M000073.html +0 -24
- data/doc/classes/Autobuild/MailReporter.src/M000074.html +0 -21
- data/doc/classes/Autobuild/MailReporter.src/M000075.html +0 -20
- data/doc/classes/Autobuild/MailReporter.src/M000076.html +0 -18
- data/doc/classes/Autobuild/MailReporter.src/M000077.html +0 -42
- data/doc/classes/Autobuild/Package.html +0 -364
- data/doc/classes/Autobuild/Package.src/M000073.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000074.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000075.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000076.html +0 -56
- data/doc/classes/Autobuild/Package.src/M000077.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000078.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000079.html +0 -28
- data/doc/classes/Autobuild/Package.src/M000080.html +0 -23
- data/doc/classes/Autobuild/Package.src/M000081.html +0 -19
- data/doc/classes/Autobuild/Package.src/M000082.html +0 -18
- data/doc/classes/Autobuild/Package.src/M000101.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000102.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000103.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000104.html +0 -56
- data/doc/classes/Autobuild/Package.src/M000105.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000106.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000107.html +0 -28
- data/doc/classes/Autobuild/Package.src/M000108.html +0 -23
- data/doc/classes/Autobuild/Package.src/M000109.html +0 -19
- data/doc/classes/Autobuild/Package.src/M000110.html +0 -18
- data/doc/classes/Autobuild/PackageException.html +0 -145
- data/doc/classes/Autobuild/PackageException.src/M000050.html +0 -16
- data/doc/classes/Autobuild/PackageException.src/M000078.html +0 -16
- data/doc/classes/Autobuild/Reporter.html +0 -158
- data/doc/classes/Autobuild/Reporter.src/M000053.html +0 -16
- data/doc/classes/Autobuild/Reporter.src/M000054.html +0 -16
- data/doc/classes/Autobuild/Reporter.src/M000081.html +0 -16
- data/doc/classes/Autobuild/Reporter.src/M000082.html +0 -16
- data/doc/classes/Autobuild/Reporting.html +0 -224
- data/doc/classes/Autobuild/Reporting.src/M000025.html +0 -24
- data/doc/classes/Autobuild/Reporting.src/M000026.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000027.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000028.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000029.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000053.html +0 -24
- data/doc/classes/Autobuild/Reporting.src/M000054.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000055.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000056.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000057.html +0 -18
- data/doc/classes/Autobuild/SVN.html +0 -139
- data/doc/classes/Autobuild/SVN.src/M000038.html +0 -22
- data/doc/classes/Autobuild/SVN.src/M000066.html +0 -22
- data/doc/classes/Autobuild/SourceTreeTask.html +0 -150
- data/doc/classes/Autobuild/SourceTreeTask.src/M000083.html +0 -18
- data/doc/classes/Autobuild/SourceTreeTask.src/M000111.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.html +0 -160
- data/doc/classes/Autobuild/StdoutReporter.src/M000051.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.src/M000052.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.src/M000079.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.src/M000080.html +0 -18
- data/doc/classes/Autobuild/SubcommandFailed.html +0 -200
- data/doc/classes/Autobuild/SubcommandFailed.src/M000084.html +0 -16
- data/doc/classes/Autobuild/SubcommandFailed.src/M000085.html +0 -32
- data/doc/classes/Autobuild/SubcommandFailed.src/M000086.html +0 -20
- data/doc/classes/Autobuild/SubcommandFailed.src/M000112.html +0 -16
- data/doc/classes/Autobuild/SubcommandFailed.src/M000113.html +0 -32
- data/doc/classes/Autobuild/SubcommandFailed.src/M000114.html +0 -20
- data/doc/classes/Autobuild/Subprocess.html +0 -170
- data/doc/classes/Autobuild/Subprocess.src/M000030.html +0 -18
- data/doc/classes/Autobuild/Subprocess.src/M000031.html +0 -98
- data/doc/classes/Autobuild/Subprocess.src/M000058.html +0 -18
- data/doc/classes/Autobuild/Subprocess.src/M000059.html +0 -98
- data/doc/classes/Autobuild/Subprocess/Failed.html +0 -150
- data/doc/classes/Autobuild/Subprocess/Failed.src/M000032.html +0 -18
- data/doc/classes/Autobuild/Subprocess/Failed.src/M000060.html +0 -18
- data/doc/classes/Autobuild/TarImporter.html +0 -287
- data/doc/classes/Autobuild/TarImporter.src/M000064.html +0 -28
- data/doc/classes/Autobuild/TarImporter.src/M000065.html +0 -53
- data/doc/classes/Autobuild/TarImporter.src/M000066.html +0 -26
- data/doc/classes/Autobuild/TarImporter.src/M000067.html +0 -16
- data/doc/classes/Autobuild/TarImporter.src/M000068.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000069.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000070.html +0 -30
- data/doc/classes/Autobuild/TarImporter.src/M000092.html +0 -28
- data/doc/classes/Autobuild/TarImporter.src/M000093.html +0 -53
- data/doc/classes/Autobuild/TarImporter.src/M000094.html +0 -26
- data/doc/classes/Autobuild/TarImporter.src/M000095.html +0 -16
- data/doc/classes/Autobuild/TarImporter.src/M000096.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000097.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000098.html +0 -30
- data/doc/classes/Autobuild/UndefinedVariable.html +0 -174
- data/doc/classes/Autobuild/UndefinedVariable.src/M000071.html +0 -19
- data/doc/classes/Autobuild/UndefinedVariable.src/M000072.html +0 -18
- data/doc/classes/Autobuild/UndefinedVariable.src/M000099.html +0 -19
- data/doc/classes/Autobuild/UndefinedVariable.src/M000100.html +0 -18
- data/doc/classes/Hash.html +0 -152
- data/doc/classes/Hash.src/M000002.html +0 -26
- data/doc/classes/Hash.src/M000003.html +0 -23
- data/doc/classes/Hash.src/M000020.html +0 -26
- data/doc/classes/Hash.src/M000021.html +0 -23
- data/doc/classes/RMail.html +0 -111
- data/doc/classes/RMail/Message.html +0 -140
- data/doc/classes/RMail/Message.src/M000004.html +0 -25
- data/doc/classes/RMail/Message.src/M000028.html +0 -25
- data/doc/classes/TC_CVSImport.html +0 -180
- data/doc/classes/TC_CVSImport.src/M000025.html +0 -22
- data/doc/classes/TC_CVSImport.src/M000026.html +0 -21
- data/doc/classes/TC_CVSImport.src/M000027.html +0 -36
- data/doc/classes/TC_Config.html +0 -182
- data/doc/classes/TC_Config.src/M000006.html +0 -20
- data/doc/classes/TC_Config.src/M000007.html +0 -18
- data/doc/classes/TC_Config.src/M000008.html +0 -29
- data/doc/classes/TC_Config.src/M000009.html +0 -20
- data/doc/classes/TC_ConfigInterpolation.html +0 -198
- data/doc/classes/TC_ConfigInterpolation.src/M000002.html +0 -18
- data/doc/classes/TC_ConfigInterpolation.src/M000003.html +0 -18
- data/doc/classes/TC_ConfigInterpolation.src/M000004.html +0 -26
- data/doc/classes/TC_ConfigInterpolation.src/M000005.html +0 -24
- data/doc/classes/TC_SVNImport.html +0 -180
- data/doc/classes/TC_SVNImport.src/M000017.html +0 -22
- data/doc/classes/TC_SVNImport.src/M000018.html +0 -21
- data/doc/classes/TC_SVNImport.src/M000019.html +0 -43
- data/doc/classes/TC_Subcommand.html +0 -208
- data/doc/classes/TC_Subcommand.src/M000022.html +0 -31
- data/doc/classes/TC_Subcommand.src/M000023.html +0 -18
- data/doc/classes/TC_Subcommand.src/M000024.html +0 -30
- data/doc/classes/TC_TarImporter.html +0 -247
- data/doc/classes/TC_TarImporter.src/M000010.html +0 -28
- data/doc/classes/TC_TarImporter.src/M000011.html +0 -21
- data/doc/classes/TC_TarImporter.src/M000012.html +0 -20
- data/doc/classes/TC_TarImporter.src/M000013.html +0 -20
- data/doc/classes/TC_TarImporter.src/M000014.html +0 -26
- data/doc/classes/TC_TarImporter.src/M000015.html +0 -31
- data/doc/classes/TC_TarImporter.src/M000016.html +0 -24
- data/doc/classes/TestTools.html +0 -189
- data/doc/classes/TestTools.src/M000029.html +0 -19
- data/doc/classes/TestTools.src/M000030.html +0 -18
- data/doc/classes/TestTools.src/M000031.html +0 -25
- data/doc/classes/TestTools.src/M000032.html +0 -24
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -378
- data/doc/files/demo_rb.html +0 -115
- data/doc/files/lib/autobuild/config_rb.html +0 -136
- data/doc/files/lib/autobuild/config_rb.src/M000001.html +0 -18
- data/doc/files/lib/autobuild/environment_rb.html +0 -101
- data/doc/files/lib/autobuild/exceptions_rb.html +0 -101
- data/doc/files/lib/autobuild/import/cvs_rb.html +0 -110
- data/doc/files/lib/autobuild/import/darcs_rb.html +0 -110
- data/doc/files/lib/autobuild/import/svn_rb.html +0 -109
- data/doc/files/lib/autobuild/import/tar_rb.html +0 -108
- data/doc/files/lib/autobuild/importer_rb.html +0 -109
- data/doc/files/lib/autobuild/loaders/config-interpolator_rb.html +0 -108
- data/doc/files/lib/autobuild/loaders/config_rb.html +0 -113
- data/doc/files/lib/autobuild/package_rb.html +0 -110
- data/doc/files/lib/autobuild/packages/autotools_rb.html +0 -112
- data/doc/files/lib/autobuild/packages/genom_rb.html +0 -109
- data/doc/files/lib/autobuild/packages/import_rb.html +0 -109
- data/doc/files/lib/autobuild/reporting_rb.html +0 -114
- data/doc/files/lib/autobuild/subcommand_rb.html +0 -108
- data/doc/files/lib/autobuild/timestamps_rb.html +0 -124
- data/doc/files/lib/autobuild_rb.html +0 -110
- data/doc/files/test/test_config_interpolation_rb.html +0 -111
- data/doc/files/test/test_config_rb.html +0 -111
- data/doc/files/test/test_import_cvs_rb.html +0 -119
- data/doc/files/test/test_import_svn_rb.html +0 -119
- data/doc/files/test/test_import_tar_rb.html +0 -120
- data/doc/files/test/test_subcommand_rb.html +0 -120
- data/doc/files/test/tools_rb.html +0 -110
- data/doc/fr_class_index.html +0 -26
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -26
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
@@ -1,31 +0,0 @@
|
|
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>check_backward_compatibility (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/loaders/config.rb, line 33</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">check_backward_compatibility</span>(<span class="ruby-identifier">config</span>)
|
15
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">config</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-value str">'autobuild-config'</span>)
|
16
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-value str">'WARNING: the \'autobuild-config\' block is now named \'autobuild\''</span>
|
17
|
-
<span class="ruby-keyword kw">end</span>
|
18
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">each_recursive</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
19
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">k</span>
|
20
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'common-config'</span>
|
21
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-value str">%{WARNING: the 'common-config' blocks are now named 'common'}</span>
|
22
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value str">'genflags'</span>
|
23
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-value str">%{WARNING: the 'genflags' has been renamed into 'genomflags'}</span>
|
24
|
-
<span class="ruby-keyword kw">end</span>
|
25
|
-
}
|
26
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">config</span>[<span class="ruby-value str">"autobuild"</span>] <span class="ruby-operator">&&</span> <span class="ruby-identifier">config</span>[<span class="ruby-value str">"autobuild"</span>][<span class="ruby-value str">"clean-log"</span>]
|
27
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-value str">'WARNING: the \'clean-log\' option is now named \'clean_log\''</span>
|
28
|
-
<span class="ruby-keyword kw">end</span>
|
29
|
-
<span class="ruby-keyword kw">end</span></pre>
|
30
|
-
</body>
|
31
|
-
</html>
|
@@ -1,47 +0,0 @@
|
|
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>load (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/loaders/config.rb, line 50</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">conffile</span>, <span class="ruby-identifier">user_options</span> = <span class="ruby-constant">Options</span>.<span class="ruby-identifier">nil</span>)
|
15
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">conffile</span>
|
16
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Hash</span>
|
17
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-identifier">conffile</span>
|
18
|
-
<span class="ruby-keyword kw">else</span>
|
19
|
-
<span class="ruby-identifier">data</span> = <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">conffile</span>)
|
20
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Interpolator</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-identifier">data</span>)
|
21
|
-
<span class="ruby-keyword kw">end</span>
|
22
|
-
|
23
|
-
<span class="ruby-identifier">check_backward_compatibility</span>(<span class="ruby-identifier">config</span>)
|
24
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-identifier">config</span>.<span class="ruby-identifier">keys_to_sym</span>
|
25
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">config</span>[<span class="ruby-identifier">:autobuild</span>]
|
26
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ConfigException</span>, <span class="ruby-value str">"no toplevel autobuild config block"</span>
|
27
|
-
<span class="ruby-keyword kw">end</span>
|
28
|
-
|
29
|
-
<span class="ruby-comment cmt"># Merge user_options into the autobuild block</span>
|
30
|
-
<span class="ruby-identifier">autobuild_config</span> = <span class="ruby-identifier">config</span>[<span class="ruby-identifier">:autobuild</span>]
|
31
|
-
<span class="ruby-identifier">default_options</span> = <span class="ruby-constant">Options</span>.<span class="ruby-identifier">default</span>
|
32
|
-
<span class="ruby-identifier">user_options</span>.<span class="ruby-identifier">each_pair</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">sym</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
33
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">value</span>.<span class="ruby-identifier">nil?</span>
|
34
|
-
<span class="ruby-identifier">autobuild_config</span>[<span class="ruby-identifier">sym</span>] = <span class="ruby-identifier">value</span>
|
35
|
-
<span class="ruby-keyword kw">elsif</span> <span class="ruby-operator">!</span><span class="ruby-identifier">autobuild_config</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">sym</span>)
|
36
|
-
<span class="ruby-identifier">autobuild_config</span>[<span class="ruby-identifier">sym</span>] = <span class="ruby-identifier">default_options</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">sym</span>)
|
37
|
-
<span class="ruby-keyword kw">end</span>
|
38
|
-
}
|
39
|
-
|
40
|
-
<span class="ruby-identifier">$verbose</span> = <span class="ruby-identifier">$VERBOSE</span> = <span class="ruby-identifier">autobuild_config</span>[<span class="ruby-identifier">:verbose</span>]
|
41
|
-
<span class="ruby-identifier">$trace</span> = <span class="ruby-identifier">$DEBUG</span> = <span class="ruby-identifier">autobuild_config</span>[<span class="ruby-identifier">:debug</span>]
|
42
|
-
|
43
|
-
<span class="ruby-identifier">get_autobuild_config</span>(<span class="ruby-identifier">config</span>)
|
44
|
-
<span class="ruby-identifier">get_package_config</span>(<span class="ruby-identifier">config</span>)
|
45
|
-
<span class="ruby-keyword kw">end</span></pre>
|
46
|
-
</body>
|
47
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>svn (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/import/svn.rb, line 28</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">svn</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">options</span> = {})
|
15
|
-
<span class="ruby-constant">SVN</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">options</span>)
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>cvs (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/import/cvs.rb, line 43</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">cvs</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">package_options</span> = {})
|
15
|
-
<span class="ruby-constant">CVSImporter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">repo</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">package_options</span>)
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>darcs (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/import/darcs.rb, line 26</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">darcs</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">options</span> = {})
|
15
|
-
<span class="ruby-constant">DarcsImporter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">options</span>)
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>genom (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/packages/genom.rb, line 5</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">genom</span>(<span class="ruby-identifier">opts</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">proc</span>)
|
15
|
-
<span class="ruby-constant">GenomModule</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">opts</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">proc</span>)
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>autotools (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/packages/autotools.rb, line 8</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">autotools</span>(<span class="ruby-identifier">opts</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">proc</span>)
|
15
|
-
<span class="ruby-constant">Autotools</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">opts</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">proc</span>)
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>import (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/packages/import.rb, line 5</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">spec</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">proc</span>)
|
15
|
-
<span class="ruby-constant">ImporterPackage</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">spec</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">proc</span>)
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
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 3</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">nil?</span> <span class="ruby-operator">||</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>
|
@@ -1,19 +0,0 @@
|
|
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 16</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>
|
@@ -1,19 +0,0 @@
|
|
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>mail (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/config.rb, line 32</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mail</span>(<span class="ruby-identifier">config</span> = <span class="ruby-keyword kw">nil</span>)
|
15
|
-
<span class="ruby-ivar">@mail</span> = <span class="ruby-identifier">config</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">config</span>
|
16
|
-
<span class="ruby-ivar">@mail</span> <span class="ruby-operator">||</span> {}
|
17
|
-
<span class="ruby-keyword kw">end</span></pre>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,16 +0,0 @@
|
|
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>logdir (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/config.rb, line 37</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logdir</span>; <span class="ruby-ivar">@logdir</span> <span class="ruby-operator">||</span> <span class="ruby-node">"#{prefix}/log"</span> <span class="ruby-keyword kw">end</span></pre>
|
15
|
-
</body>
|
16
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
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>clean_log! (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/config.rb, line 39</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clean_log!</span>
|
15
|
-
<span class="ruby-constant">Reporting</span>.<span class="ruby-identifier">each_log</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
|
16
|
-
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_f</span> <span class="ruby-identifier">file</span>
|
17
|
-
<span class="ruby-keyword kw">end</span>
|
18
|
-
<span class="ruby-keyword kw">end</span></pre>
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>tool (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/config.rb, line 46</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tool</span>(<span class="ruby-identifier">name</span>)
|
15
|
-
<span class="ruby-identifier">programs</span>[<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">programs</span>[<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,52 +0,0 @@
|
|
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>commandline (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/config.rb, line 52</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commandline</span>(<span class="ruby-identifier">args</span>)
|
15
|
-
<span class="ruby-identifier">parser</span> = <span class="ruby-constant">OptionParser</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">opts</span><span class="ruby-operator">|</span>
|
16
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">separator</span> <span class="ruby-value str">"Path specification"</span>
|
17
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--srcdir PATH"</span>, <span class="ruby-value str">"sources are installed in PATH"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@srcdir</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
18
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--prefix PATH"</span>, <span class="ruby-value str">"built packages are installed in PATH"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@prefix</span><span class="ruby-operator">|</span>
|
19
|
-
<span class="ruby-identifier">logdir</span> = <span class="ruby-node">"#{prefix}/autobuild"</span>
|
20
|
-
<span class="ruby-keyword kw">end</span>
|
21
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--logdir PATH"</span>, <span class="ruby-value str">"logs are saved in PATH (default: <prefix>/autobuild)"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@logdir</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
22
|
-
|
23
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">separator</span> <span class="ruby-value str">""</span>
|
24
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">separator</span> <span class="ruby-value str">"General behaviour"</span>
|
25
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">'--nice NICE'</span>, <span class="ruby-constant">Integer</span>, <span class="ruby-value str">'nice the subprocesses to the given value'</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@nice</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
26
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--[no-]daemon"</span>, <span class="ruby-value str">"go into daemon mode"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@daemonize</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
27
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--[no-]update"</span>, <span class="ruby-value str">"update already checked-out sources"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@do_update</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
28
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--[no-]build"</span>, <span class="ruby-value str">"only prepare packages, do not build them"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@do_build</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
29
|
-
|
30
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">separator</span> <span class="ruby-value str">""</span>
|
31
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">separator</span> <span class="ruby-value str">"Program output"</span>
|
32
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--[no-]verbose"</span>, <span class="ruby-value str">"display output of commands on stdout"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@verbose</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
33
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">"--[no-]debug"</span>, <span class="ruby-value str">"verbose information (for debugging purposes)"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-ivar">@debug</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">end</span>
|
34
|
-
|
35
|
-
<span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on_tail</span>(<span class="ruby-value str">"-h"</span>, <span class="ruby-value str">"--help"</span>, <span class="ruby-value str">"Show this message"</span>) <span class="ruby-keyword kw">do</span>
|
36
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">opts</span>
|
37
|
-
<span class="ruby-identifier">exit</span>
|
38
|
-
<span class="ruby-keyword kw">end</span>
|
39
|
-
<span class="ruby-keyword kw">end</span>
|
40
|
-
|
41
|
-
<span class="ruby-identifier">parser</span>.<span class="ruby-identifier">parse!</span>(<span class="ruby-identifier">args</span>)
|
42
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>]
|
43
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">parser</span>
|
44
|
-
<span class="ruby-identifier">exit</span>
|
45
|
-
<span class="ruby-keyword kw">end</span>
|
46
|
-
|
47
|
-
<span class="ruby-constant">Rake</span>.<span class="ruby-identifier">application</span>.<span class="ruby-identifier">options</span>.<span class="ruby-identifier">trace</span> = <span class="ruby-identifier">debug</span>
|
48
|
-
|
49
|
-
<span class="ruby-identifier">args</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
50
|
-
<span class="ruby-keyword kw">end</span></pre>
|
51
|
-
</body>
|
52
|
-
</html>
|
@@ -1,44 +0,0 @@
|
|
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 9</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-constant">Autobuild</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-constant">Autobuild</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-constant">Autobuild</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>
|
@@ -1,19 +0,0 @@
|
|
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 45</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>
|