autobuild 0.5.1 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +10 -3
- data/README +106 -273
- data/Rakefile +14 -19
- data/TODO +5 -0
- data/bin/autobuild +17 -67
- data/doc/classes/Autobuild.html +320 -57
- data/doc/classes/{Autobuild/Config.src/M000040.html → Autobuild.src/M000005.html} +8 -5
- data/doc/classes/{Autobuild/Config.src/M000041.html → Autobuild.src/M000006.html} +3 -3
- data/doc/classes/Autobuild.src/M000007.html +18 -0
- data/doc/classes/Autobuild.src/M000008.html +18 -0
- data/doc/classes/Autobuild.src/M000009.html +18 -0
- data/doc/classes/Autobuild.src/M000010.html +18 -0
- data/doc/classes/Autobuild.src/M000011.html +18 -0
- data/doc/classes/Autobuild.src/M000012.html +18 -0
- data/doc/classes/Autobuild.src/M000013.html +25 -0
- data/doc/classes/Autobuild.src/M000014.html +19 -0
- data/doc/classes/Autobuild.src/M000015.html +19 -0
- data/doc/classes/Autobuild.src/M000016.html +16 -0
- data/doc/classes/Autobuild.src/M000017.html +20 -0
- data/doc/classes/Autobuild.src/M000018.html +18 -0
- data/doc/classes/Autobuild.src/M000019.html +52 -0
- data/doc/classes/Autobuild.src/M000020.html +44 -0
- data/doc/classes/Autobuild.src/M000021.html +19 -0
- data/doc/classes/Autobuild.src/M000022.html +19 -0
- data/doc/classes/Autobuild.src/M000023.html +20 -0
- data/doc/classes/Autobuild.src/M000024.html +22 -0
- data/doc/classes/Autobuild.src/M000033.html +31 -0
- data/doc/classes/Autobuild.src/M000034.html +32 -10
- data/doc/classes/Autobuild.src/M000035.html +4 -5
- data/doc/classes/Autobuild.src/M000036.html +4 -30
- data/doc/classes/Autobuild.src/M000037.html +4 -5
- data/doc/classes/Autobuild.src/M000038.html +4 -5
- data/doc/classes/Autobuild.src/M000039.html +4 -6
- data/doc/classes/Autobuild.src/M000040.html +18 -0
- data/doc/classes/Autobuild.src/M000041.html +25 -0
- data/doc/classes/Autobuild.src/M000042.html +19 -0
- data/doc/classes/Autobuild.src/M000043.html +19 -0
- data/doc/classes/Autobuild.src/M000044.html +16 -0
- data/doc/classes/Autobuild.src/M000045.html +20 -0
- data/doc/classes/Autobuild.src/M000046.html +18 -0
- data/doc/classes/Autobuild.src/M000047.html +52 -0
- data/doc/classes/Autobuild.src/M000048.html +44 -0
- data/doc/classes/Autobuild.src/M000049.html +19 -0
- data/doc/classes/Autobuild.src/M000050.html +19 -0
- data/doc/classes/Autobuild.src/M000051.html +20 -0
- data/doc/classes/Autobuild.src/M000052.html +22 -0
- data/doc/classes/Autobuild/Autotools.html +103 -58
- data/doc/classes/Autobuild/Autotools.src/M000055.html +20 -0
- data/doc/classes/Autobuild/Autotools.src/M000056.html +20 -0
- data/doc/classes/Autobuild/Autotools.src/M000057.html +16 -0
- data/doc/classes/Autobuild/Autotools.src/M000058.html +16 -0
- data/doc/classes/Autobuild/Autotools.src/M000059.html +22 -0
- data/doc/classes/Autobuild/Autotools.src/M000060.html +29 -0
- data/doc/classes/Autobuild/Autotools.src/M000061.html +21 -0
- data/doc/classes/Autobuild/Autotools.src/M000062.html +20 -0
- data/doc/classes/Autobuild/Autotools.src/{M000067.html → M000063.html} +4 -10
- data/doc/classes/Autobuild/Autotools.src/M000083.html +20 -0
- data/doc/classes/Autobuild/Autotools.src/M000084.html +20 -0
- data/doc/classes/Autobuild/Autotools.src/M000085.html +16 -0
- data/doc/classes/Autobuild/Autotools.src/M000086.html +16 -0
- data/doc/classes/Autobuild/Autotools.src/M000087.html +22 -0
- data/doc/classes/Autobuild/Autotools.src/M000088.html +29 -0
- data/doc/classes/Autobuild/Autotools.src/M000089.html +21 -0
- data/doc/classes/Autobuild/Autotools.src/M000090.html +20 -0
- data/doc/classes/Autobuild/Autotools.src/M000091.html +32 -0
- data/doc/classes/Autobuild/CVSImporter.html +11 -11
- data/doc/classes/Autobuild/CVSImporter.src/M000036.html +26 -0
- data/doc/classes/Autobuild/CVSImporter.src/{M000049.html → M000037.html} +1 -1
- data/doc/classes/Autobuild/CVSImporter.src/M000064.html +26 -0
- data/doc/classes/Autobuild/CVSImporter.src/M000065.html +18 -0
- data/doc/classes/Autobuild/CommandNotFound.html +6 -0
- data/doc/classes/Autobuild/ConfigException.html +6 -0
- data/doc/classes/Autobuild/{Options.html → DarcsImporter.html} +13 -11
- data/doc/classes/Autobuild/DarcsImporter.src/M000044.html +20 -0
- data/doc/classes/Autobuild/DarcsImporter.src/M000072.html +20 -0
- data/doc/classes/Autobuild/Exception.html +38 -20
- data/doc/classes/Autobuild/Exception.src/{M000103.html → M000087.html} +1 -1
- data/doc/classes/Autobuild/Exception.src/{M000104.html → M000088.html} +1 -1
- data/doc/classes/Autobuild/Exception.src/{M000105.html → M000089.html} +2 -3
- data/doc/classes/Autobuild/Exception.src/M000090.html +24 -0
- data/doc/classes/Autobuild/Exception.src/M000115.html +16 -0
- data/doc/classes/Autobuild/Exception.src/M000116.html +16 -0
- data/doc/classes/Autobuild/Exception.src/M000117.html +18 -0
- data/doc/classes/Autobuild/Exception.src/M000118.html +24 -0
- data/doc/classes/Autobuild/GenomModule.html +83 -37
- data/doc/classes/Autobuild/GenomModule.src/M000091.html +19 -0
- data/doc/classes/Autobuild/GenomModule.src/{M000107.html → M000092.html} +2 -1
- data/doc/classes/Autobuild/GenomModule.src/{M000108.html → M000093.html} +1 -1
- data/doc/classes/Autobuild/GenomModule.src/{M000109.html → M000094.html} +2 -2
- data/doc/classes/Autobuild/GenomModule.src/{M000110.html → M000095.html} +4 -6
- data/doc/classes/Autobuild/GenomModule.src/{M000112.html → M000096.html} +2 -4
- data/doc/classes/Autobuild/GenomModule.src/{M000111.html → M000097.html} +3 -3
- data/doc/classes/Autobuild/GenomModule.src/M000098.html +36 -0
- data/doc/classes/Autobuild/GenomModule.src/M000119.html +19 -0
- data/doc/classes/Autobuild/GenomModule.src/M000120.html +21 -0
- data/doc/classes/Autobuild/GenomModule.src/M000121.html +16 -0
- data/doc/classes/Autobuild/GenomModule.src/M000122.html +18 -0
- data/doc/classes/Autobuild/GenomModule.src/M000123.html +27 -0
- data/doc/classes/Autobuild/GenomModule.src/M000124.html +24 -0
- data/doc/classes/Autobuild/GenomModule.src/M000125.html +19 -0
- data/doc/classes/Autobuild/GenomModule.src/M000126.html +36 -0
- data/doc/classes/Autobuild/Import.html +5 -43
- data/doc/classes/Autobuild/Import.src/{M000047.html → M000033.html} +0 -0
- data/doc/classes/Autobuild/Import.src/{M000045.html → M000061.html} +4 -4
- data/doc/classes/Autobuild/Importer.html +10 -10
- data/doc/classes/Autobuild/Importer.src/{M000056.html → M000034.html} +1 -1
- data/doc/classes/Autobuild/Importer.src/{M000057.html → M000035.html} +3 -3
- data/doc/classes/Autobuild/Importer.src/M000062.html +18 -0
- data/doc/classes/Autobuild/Importer.src/M000063.html +38 -0
- data/doc/classes/Autobuild/ImporterPackage.html +16 -16
- data/doc/classes/Autobuild/ImporterPackage.src/{M000115.html → M000099.html} +1 -1
- data/doc/classes/Autobuild/ImporterPackage.src/{M000116.html → M000100.html} +3 -3
- data/doc/classes/Autobuild/ImporterPackage.src/{M000117.html → M000101.html} +1 -1
- data/doc/classes/Autobuild/{Autotools.src/M000065.html → ImporterPackage.src/M000127.html} +4 -4
- data/doc/classes/Autobuild/ImporterPackage.src/M000128.html +22 -0
- data/doc/classes/Autobuild/ImporterPackage.src/M000129.html +16 -0
- data/doc/classes/Autobuild/Interpolator.html +27 -27
- data/doc/classes/Autobuild/Interpolator.src/{M000051.html → M000039.html} +1 -1
- data/doc/classes/Autobuild/Interpolator.src/{M000052.html → M000040.html} +1 -1
- data/doc/classes/Autobuild/Interpolator.src/{M000053.html → M000041.html} +1 -1
- data/doc/classes/Autobuild/Interpolator.src/{M000054.html → M000042.html} +1 -1
- data/doc/classes/Autobuild/Interpolator.src/{M000055.html → M000043.html} +1 -1
- data/doc/classes/Autobuild/Interpolator.src/M000067.html +18 -0
- data/doc/classes/Autobuild/Interpolator.src/M000068.html +21 -0
- data/doc/classes/Autobuild/Interpolator.src/M000069.html +45 -0
- data/doc/classes/Autobuild/Interpolator.src/M000070.html +39 -0
- data/doc/classes/Autobuild/Interpolator.src/M000071.html +29 -0
- data/doc/classes/Autobuild/MailReporter.html +31 -25
- data/doc/classes/Autobuild/MailReporter.src/{M000060.html → M000045.html} +1 -1
- data/doc/classes/Autobuild/MailReporter.src/{M000061.html → M000046.html} +1 -1
- data/doc/classes/Autobuild/MailReporter.src/{M000062.html → M000047.html} +1 -1
- data/doc/classes/Autobuild/MailReporter.src/{M000063.html → M000048.html} +1 -1
- data/doc/classes/Autobuild/MailReporter.src/{M000064.html → M000049.html} +1 -1
- data/doc/classes/Autobuild/MailReporter.src/M000073.html +24 -0
- data/doc/classes/Autobuild/MailReporter.src/M000074.html +21 -0
- data/doc/classes/Autobuild/MailReporter.src/M000075.html +20 -0
- data/doc/classes/Autobuild/MailReporter.src/M000076.html +18 -0
- data/doc/classes/Autobuild/MailReporter.src/M000077.html +42 -0
- data/doc/classes/Autobuild/Package.html +132 -81
- data/doc/classes/Autobuild/Package.src/M000073.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000074.html +16 -0
- data/doc/classes/Autobuild/Package.src/{M000085.html → M000075.html} +2 -2
- data/doc/classes/Autobuild/Package.src/M000076.html +56 -0
- data/doc/classes/Autobuild/Package.src/M000077.html +16 -0
- data/doc/classes/Autobuild/Package.src/{M000091.html → M000078.html} +3 -3
- data/doc/classes/Autobuild/Package.src/M000079.html +28 -0
- data/doc/classes/Autobuild/Package.src/M000080.html +23 -0
- data/doc/classes/Autobuild/Package.src/{M000086.html → M000081.html} +1 -1
- data/doc/classes/Autobuild/Package.src/{M000087.html → M000082.html} +3 -3
- data/doc/classes/Autobuild/Package.src/M000101.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000102.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000103.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000104.html +56 -0
- data/doc/classes/Autobuild/Package.src/M000105.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000106.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000107.html +28 -0
- data/doc/classes/Autobuild/Package.src/M000108.html +23 -0
- data/doc/classes/Autobuild/Package.src/M000109.html +19 -0
- data/doc/classes/Autobuild/Package.src/{M000093.html → M000110.html} +4 -4
- data/doc/classes/Autobuild/PackageException.html +11 -5
- data/doc/classes/Autobuild/PackageException.src/{M000059.html → M000050.html} +1 -1
- data/doc/classes/Autobuild/PackageException.src/M000078.html +16 -0
- data/doc/classes/Autobuild/Reporter.html +16 -10
- data/doc/classes/Autobuild/Reporter.src/{M000074.html → M000053.html} +1 -1
- data/doc/classes/Autobuild/Reporter.src/{M000075.html → M000054.html} +1 -1
- data/doc/classes/Autobuild/Reporter.src/M000081.html +16 -0
- data/doc/classes/Autobuild/Reporter.src/M000082.html +16 -0
- data/doc/classes/Autobuild/Reporting.html +60 -33
- data/doc/classes/Autobuild/Reporting.src/{M000095.html → M000025.html} +1 -1
- data/doc/classes/Autobuild/Reporting.src/{M000096.html → M000026.html} +1 -1
- data/doc/classes/Autobuild/Reporting.src/{M000097.html → M000027.html} +1 -1
- data/doc/classes/Autobuild/Reporting.src/{M000098.html → M000028.html} +1 -1
- data/doc/classes/Autobuild/Reporting.src/{M000099.html → M000029.html} +2 -2
- data/doc/classes/Autobuild/Reporting.src/M000053.html +24 -0
- data/doc/classes/Autobuild/Reporting.src/M000054.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000055.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000056.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000057.html +18 -0
- data/doc/classes/Autobuild/{SVNImporter.html → SVN.html} +8 -8
- data/doc/classes/Autobuild/SVN.src/M000038.html +22 -0
- data/doc/classes/Autobuild/SVN.src/M000066.html +22 -0
- data/doc/classes/Autobuild/SourceTreeTask.html +5 -5
- data/doc/classes/Autobuild/SourceTreeTask.src/{M000114.html → M000083.html} +1 -1
- data/doc/classes/Autobuild/SourceTreeTask.src/M000111.html +18 -0
- data/doc/classes/Autobuild/StdoutReporter.html +16 -10
- data/doc/classes/Autobuild/StdoutReporter.src/{M000072.html → M000051.html} +1 -1
- data/doc/classes/Autobuild/StdoutReporter.src/{M000073.html → M000052.html} +1 -1
- data/doc/classes/Autobuild/StdoutReporter.src/M000079.html +18 -0
- data/doc/classes/Autobuild/StdoutReporter.src/M000080.html +18 -0
- data/doc/classes/Autobuild/SubcommandFailed.html +21 -15
- data/doc/classes/Autobuild/SubcommandFailed.src/{M000100.html → M000084.html} +1 -1
- data/doc/classes/Autobuild/SubcommandFailed.src/{M000101.html → M000085.html} +2 -2
- data/doc/classes/Autobuild/SubcommandFailed.src/{M000102.html → M000086.html} +1 -1
- data/doc/classes/Autobuild/SubcommandFailed.src/M000112.html +16 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000113.html +32 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000114.html +20 -0
- data/doc/classes/Autobuild/Subprocess.html +10 -10
- data/doc/classes/Autobuild/Subprocess.src/{M000042.html → M000030.html} +0 -0
- data/doc/classes/Autobuild/Subprocess.src/{M000043.html → M000031.html} +4 -2
- data/doc/classes/Autobuild/Subprocess.src/M000058.html +18 -0
- data/doc/classes/Autobuild/Subprocess.src/M000059.html +98 -0
- data/doc/classes/Autobuild/Subprocess/Failed.html +5 -5
- data/doc/classes/Autobuild/Subprocess/Failed.src/{M000044.html → M000032.html} +0 -0
- data/doc/classes/Autobuild/Subprocess/Failed.src/M000060.html +18 -0
- data/doc/classes/Autobuild/TarImporter.html +35 -35
- data/doc/classes/Autobuild/TarImporter.src/{M000076.html → M000064.html} +0 -0
- data/doc/classes/Autobuild/TarImporter.src/{M000077.html → M000065.html} +0 -0
- data/doc/classes/Autobuild/TarImporter.src/{M000078.html → M000066.html} +0 -0
- data/doc/classes/Autobuild/TarImporter.src/{M000079.html → M000067.html} +0 -0
- data/doc/classes/Autobuild/TarImporter.src/{M000080.html → M000068.html} +0 -0
- data/doc/classes/Autobuild/TarImporter.src/{M000081.html → M000069.html} +1 -1
- data/doc/classes/Autobuild/TarImporter.src/{M000082.html → M000070.html} +2 -2
- data/doc/classes/Autobuild/TarImporter.src/M000092.html +28 -0
- data/doc/classes/Autobuild/TarImporter.src/M000093.html +53 -0
- data/doc/classes/Autobuild/TarImporter.src/M000094.html +26 -0
- data/doc/classes/Autobuild/TarImporter.src/M000095.html +16 -0
- data/doc/classes/Autobuild/TarImporter.src/M000096.html +20 -0
- data/doc/classes/Autobuild/TarImporter.src/M000097.html +20 -0
- data/doc/classes/Autobuild/TarImporter.src/M000098.html +30 -0
- data/doc/classes/Autobuild/UndefinedVariable.html +12 -12
- data/doc/classes/Autobuild/UndefinedVariable.src/{M000083.html → M000071.html} +1 -1
- data/doc/classes/Autobuild/UndefinedVariable.src/{M000084.html → M000072.html} +1 -1
- data/doc/classes/Autobuild/UndefinedVariable.src/M000099.html +19 -0
- data/doc/classes/Autobuild/{Exception.src/M000106.html → UndefinedVariable.src/M000100.html} +3 -4
- data/doc/classes/Hash.html +12 -12
- data/doc/classes/Hash.src/{M000019.html → M000002.html} +1 -1
- data/doc/classes/Hash.src/M000003.html +23 -0
- data/doc/classes/Hash.src/M000020.html +11 -8
- data/doc/classes/Hash.src/M000021.html +23 -0
- data/doc/classes/RMail/Message.html +8 -5
- data/doc/classes/RMail/Message.src/{M000033.html → M000004.html} +1 -1
- data/doc/classes/RMail/Message.src/M000028.html +25 -0
- data/doc/classes/TC_CVSImport.html +15 -15
- data/doc/classes/{TC_TarImporter.src/M000009.html → TC_CVSImport.src/M000025.html} +7 -6
- data/doc/classes/TC_CVSImport.src/M000026.html +6 -7
- data/doc/classes/TC_CVSImport.src/M000027.html +22 -7
- data/doc/classes/TC_Config.html +20 -20
- data/doc/classes/TC_Config.src/{M000001.html → M000006.html} +0 -0
- data/doc/classes/TC_Config.src/{M000002.html → M000007.html} +0 -0
- data/doc/classes/TC_Config.src/{M000003.html → M000008.html} +0 -0
- data/doc/classes/TC_Config.src/{M000004.html → M000009.html} +0 -0
- data/doc/classes/TC_ConfigInterpolation.html +20 -20
- data/doc/classes/TC_ConfigInterpolation.src/{M000015.html → M000002.html} +0 -0
- data/doc/classes/TC_ConfigInterpolation.src/{M000016.html → M000003.html} +0 -0
- data/doc/classes/TC_ConfigInterpolation.src/{M000017.html → M000004.html} +0 -0
- data/doc/classes/TC_ConfigInterpolation.src/{M000018.html → M000005.html} +0 -0
- data/doc/classes/TC_SVNImport.html +15 -15
- data/doc/classes/TC_SVNImport.src/{M000005.html → M000017.html} +0 -0
- data/doc/classes/TC_SVNImport.src/{M000006.html → M000018.html} +0 -0
- data/doc/classes/TC_SVNImport.src/{M000007.html → M000019.html} +0 -0
- data/doc/classes/TC_Subcommand.html +15 -15
- data/doc/classes/TC_Subcommand.src/M000022.html +17 -4
- data/doc/classes/TC_Subcommand.src/M000023.html +4 -16
- data/doc/classes/TC_Subcommand.src/M000024.html +30 -0
- data/doc/classes/TC_TarImporter.html +35 -35
- data/doc/classes/TC_TarImporter.src/M000010.html +14 -6
- data/doc/classes/TC_TarImporter.src/M000011.html +7 -6
- data/doc/classes/TC_TarImporter.src/M000012.html +6 -12
- data/doc/classes/TC_TarImporter.src/M000013.html +6 -17
- data/doc/classes/TC_TarImporter.src/M000014.html +11 -9
- data/doc/classes/TC_TarImporter.src/M000015.html +31 -0
- data/doc/classes/TC_TarImporter.src/M000016.html +24 -0
- data/doc/created.rid +1 -1
- data/doc/files/README.html +378 -0
- data/doc/files/{lib/autobuild/options_rb.html → demo_rb.html} +19 -5
- data/doc/files/lib/autobuild/config_rb.html +30 -7
- data/doc/files/lib/autobuild/config_rb.src/M000001.html +18 -0
- data/doc/files/lib/autobuild/environment_rb.html +1 -1
- data/doc/files/lib/autobuild/exceptions_rb.html +1 -1
- data/doc/files/lib/autobuild/import/cvs_rb.html +2 -1
- data/doc/files/{test/base_rb.html → lib/autobuild/import/darcs_rb.html} +8 -11
- data/doc/files/lib/autobuild/import/svn_rb.html +1 -1
- data/doc/files/lib/autobuild/import/tar_rb.html +1 -1
- data/doc/files/lib/autobuild/importer_rb.html +2 -1
- data/doc/files/lib/autobuild/{config-interpolator_rb.html → loaders/config-interpolator_rb.html} +3 -3
- data/doc/files/lib/autobuild/loaders/config_rb.html +113 -0
- data/doc/files/lib/autobuild/package_rb.html +1 -1
- data/doc/files/lib/autobuild/packages/autotools_rb.html +2 -1
- data/doc/files/lib/autobuild/packages/genom_rb.html +1 -1
- data/doc/files/lib/autobuild/packages/import_rb.html +1 -1
- data/doc/files/lib/autobuild/reporting_rb.html +2 -1
- data/doc/files/lib/autobuild/subcommand_rb.html +1 -1
- data/doc/files/lib/autobuild/timestamps_rb.html +2 -1
- data/doc/files/{test/test_attr_defval_rb.html → lib/autobuild_rb.html} +7 -6
- data/doc/files/test/test_config_interpolation_rb.html +2 -2
- data/doc/files/test/test_config_rb.html +2 -2
- data/doc/files/test/test_import_cvs_rb.html +1 -1
- data/doc/files/test/test_import_svn_rb.html +1 -1
- data/doc/files/test/test_import_tar_rb.html +1 -1
- data/doc/files/test/test_subcommand_rb.html +2 -2
- data/doc/files/test/tools_rb.html +1 -1
- data/doc/fr_class_index.html +0 -37
- data/doc/fr_file_index.html +1 -25
- data/doc/fr_method_index.html +0 -117
- data/doc/index.html +1 -1
- data/lib/autobuild.rb +3 -0
- data/lib/autobuild/config.rb +87 -153
- data/lib/autobuild/environment.rb +4 -1
- data/lib/autobuild/exceptions.rb +19 -5
- data/lib/autobuild/import/cvs.rb +11 -10
- data/lib/autobuild/import/darcs.rb +32 -0
- data/lib/autobuild/import/svn.rb +10 -13
- data/lib/autobuild/import/tar.rb +3 -3
- data/lib/autobuild/importer.rb +5 -4
- data/lib/autobuild/package.rb +109 -69
- data/lib/autobuild/packages/autotools.rb +112 -69
- data/lib/autobuild/packages/genom.rb +48 -32
- data/lib/autobuild/packages/import.rb +6 -4
- data/lib/autobuild/reporting.rb +48 -19
- data/lib/autobuild/subcommand.rb +7 -9
- data/lib/autobuild/timestamps.rb +6 -5
- data/test/test_import_cvs.rb +7 -14
- data/test/test_import_svn.rb +6 -20
- data/test/test_import_tar.rb +3 -8
- data/test/test_subcommand.rb +7 -14
- data/test/tools.rb +5 -0
- metadata +336 -226
- data/doc/classes/Autobuild/Autotools.src/M000066.html +0 -26
- data/doc/classes/Autobuild/Autotools.src/M000068.html +0 -53
- data/doc/classes/Autobuild/Autotools.src/M000069.html +0 -28
- data/doc/classes/Autobuild/Autotools.src/M000070.html +0 -23
- data/doc/classes/Autobuild/Autotools.src/M000071.html +0 -22
- data/doc/classes/Autobuild/CVSImporter.src/M000048.html +0 -24
- data/doc/classes/Autobuild/Config.html +0 -146
- data/doc/classes/Autobuild/GenomModule.src/M000113.html +0 -35
- data/doc/classes/Autobuild/Import.src/M000046.html +0 -18
- data/doc/classes/Autobuild/Options.src/M000058.html +0 -27
- data/doc/classes/Autobuild/Package.src/M000088.html +0 -41
- data/doc/classes/Autobuild/Package.src/M000089.html +0 -22
- data/doc/classes/Autobuild/Package.src/M000090.html +0 -23
- data/doc/classes/Autobuild/Package.src/M000092.html +0 -24
- data/doc/classes/Autobuild/Package.src/M000094.html +0 -23
- data/doc/classes/Autobuild/SVNImporter.src/M000050.html +0 -23
- data/doc/classes/TC_AttrDefval.html +0 -152
- data/doc/classes/TC_AttrDefval.src/M000024.html +0 -31
- data/doc/classes/TC_AttrDefval.src/M000025.html +0 -22
- data/doc/classes/TC_CVSImport.src/M000028.html +0 -36
- data/doc/classes/TC_Subcommand.src/M000021.html +0 -31
- data/doc/classes/TC_TarImporter.src/M000008.html +0 -28
- data/lib/autobuild/config-interpolator.rb +0 -107
- data/lib/autobuild/options.rb +0 -22
- data/test/base.rb +0 -8
- data/test/test_attr_defval.rb +0 -29
- data/test/test_config.rb +0 -40
- data/test/test_config_interpolation.rb +0 -57
@@ -0,0 +1,45 @@
|
|
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>interpolate (Autobuild::Interpolator)</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-interpolator.rb, line 34</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">interpolate</span>
|
15
|
+
<span class="ruby-keyword kw">case</span> <span class="ruby-ivar">@node</span>
|
16
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Hash</span>
|
17
|
+
<span class="ruby-ivar">@defines</span> = (<span class="ruby-ivar">@node</span>[<span class="ruby-constant">VarDefKey</span>] <span class="ruby-operator">||</span> {})
|
18
|
+
|
19
|
+
<span class="ruby-identifier">interpolated</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
|
20
|
+
<span class="ruby-ivar">@node</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
21
|
+
<span class="ruby-keyword kw">begin</span>
|
22
|
+
<span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">k</span> <span class="ruby-operator">==</span> <span class="ruby-constant">VarDefKey</span>
|
23
|
+
<span class="ruby-identifier">interpolated</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-constant">Interpolator</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-identifier">v</span>, <span class="ruby-keyword kw">self</span>)
|
24
|
+
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">UndefinedVariable</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
25
|
+
<span class="ruby-identifier">e</span>.<span class="ruby-identifier">reference</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">k</span>
|
26
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-identifier">e</span>
|
27
|
+
<span class="ruby-keyword kw">end</span>
|
28
|
+
<span class="ruby-keyword kw">end</span>
|
29
|
+
|
30
|
+
<span class="ruby-identifier">interpolated</span>
|
31
|
+
|
32
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-constant">Array</span>
|
33
|
+
<span class="ruby-ivar">@node</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-constant">Interpolator</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-identifier">v</span>, <span class="ruby-keyword kw">self</span>) }
|
34
|
+
|
35
|
+
<span class="ruby-keyword kw">else</span>
|
36
|
+
<span class="ruby-keyword kw">begin</span>
|
37
|
+
<span class="ruby-identifier">each_interpolation</span>(<span class="ruby-ivar">@node</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">varname</span><span class="ruby-operator">|</span> <span class="ruby-identifier">value_of</span>(<span class="ruby-identifier">varname</span>) }
|
38
|
+
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">UndefinedVariable</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
39
|
+
<span class="ruby-identifier">e</span>.<span class="ruby-identifier">reference</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-ivar">@node</span>.<span class="ruby-identifier">to_str</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@node</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_str</span>)
|
40
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-identifier">e</span>
|
41
|
+
<span class="ruby-keyword kw">end</span>
|
42
|
+
<span class="ruby-keyword kw">end</span>
|
43
|
+
<span class="ruby-keyword kw">end</span></pre>
|
44
|
+
</body>
|
45
|
+
</html>
|
@@ -0,0 +1,39 @@
|
|
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>value_of (Autobuild::Interpolator)</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-interpolator.rb, line 65</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">value_of</span>(<span class="ruby-identifier">name</span>)
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@defines</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">name</span>)
|
16
|
+
<span class="ruby-identifier">value</span> = <span class="ruby-ivar">@defines</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">name</span>)
|
17
|
+
<span class="ruby-ivar">@variables</span>[<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">each_interpolation</span>(<span class="ruby-identifier">value</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">varname</span><span class="ruby-operator">|</span>
|
18
|
+
<span class="ruby-keyword kw">begin</span>
|
19
|
+
<span class="ruby-identifier">value_of</span>(<span class="ruby-identifier">varname</span>)
|
20
|
+
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">UndefinedVariable</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
21
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">varname</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span>
|
22
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ConfigException</span>, <span class="ruby-node">"cyclic reference found in definition of '#{name}'"</span>
|
23
|
+
<span class="ruby-keyword kw">else</span>
|
24
|
+
<span class="ruby-identifier">raise</span>
|
25
|
+
<span class="ruby-keyword kw">end</span>
|
26
|
+
<span class="ruby-keyword kw">end</span>
|
27
|
+
}
|
28
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-ivar">@variables</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">name</span>)
|
29
|
+
<span class="ruby-ivar">@variables</span>[<span class="ruby-identifier">name</span>]
|
30
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-ivar">@parent</span>
|
31
|
+
<span class="ruby-ivar">@parent</span>.<span class="ruby-identifier">value_of</span>(<span class="ruby-identifier">name</span>)
|
32
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-constant">ENV</span>[<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>]
|
33
|
+
<span class="ruby-constant">ENV</span>[<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>]
|
34
|
+
<span class="ruby-keyword kw">else</span>
|
35
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">UndefinedVariable</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>)
|
36
|
+
<span class="ruby-keyword kw">end</span>
|
37
|
+
<span class="ruby-keyword kw">end</span></pre>
|
38
|
+
</body>
|
39
|
+
</html>
|
@@ -0,0 +1,29 @@
|
|
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>each_interpolation (Autobuild::Interpolator)</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-interpolator.rb, line 90</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_interpolation</span>(<span class="ruby-identifier">value</span>)
|
15
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">value</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-operator">!</span><span class="ruby-identifier">value</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_str</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">empty?</span>)
|
16
|
+
|
17
|
+
<span class="ruby-comment cmt"># Special case: if 'value' is *only* an interpolation, avoid</span>
|
18
|
+
<span class="ruby-comment cmt"># conversion to string</span>
|
19
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">match</span> = <span class="ruby-constant">WholeMatch</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">value</span>)
|
20
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">$1</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">$2</span>)
|
21
|
+
<span class="ruby-keyword kw">end</span>
|
22
|
+
|
23
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-constant">PartialMatch</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">match</span><span class="ruby-operator">|</span>
|
24
|
+
<span class="ruby-identifier">varname</span> = <span class="ruby-identifier">$1</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">$2</span>
|
25
|
+
<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">varname</span>)
|
26
|
+
}
|
27
|
+
<span class="ruby-keyword kw">end</span></pre>
|
28
|
+
</body>
|
29
|
+
</html>
|
@@ -80,6 +80,12 @@
|
|
80
80
|
|
81
81
|
<div id="contextContent">
|
82
82
|
|
83
|
+
<div id="description">
|
84
|
+
<p>
|
85
|
+
Report by mail
|
86
|
+
</p>
|
87
|
+
|
88
|
+
</div>
|
83
89
|
|
84
90
|
|
85
91
|
</div>
|
@@ -88,11 +94,11 @@
|
|
88
94
|
<h3 class="section-bar">Methods</h3>
|
89
95
|
|
90
96
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
97
|
+
<a href="#M000045">default_mail</a>
|
98
|
+
<a href="#M000047">error</a>
|
99
|
+
<a href="#M000046">new</a>
|
100
|
+
<a href="#M000049">send_mail</a>
|
101
|
+
<a href="#M000048">success</a>
|
96
102
|
</div>
|
97
103
|
</div>
|
98
104
|
|
@@ -114,12 +120,12 @@
|
|
114
120
|
<div id="methods">
|
115
121
|
<h3 class="section-bar">Public Class methods</h3>
|
116
122
|
|
117
|
-
<div id="method-
|
118
|
-
<a name="
|
123
|
+
<div id="method-M000046" class="method-detail">
|
124
|
+
<a name="M000046"></a>
|
119
125
|
|
120
126
|
<div class="method-heading">
|
121
|
-
<a href="MailReporter.src/
|
122
|
-
onclick="popupCode('MailReporter.src/
|
127
|
+
<a href="MailReporter.src/M000046.html" target="Code" class="method-signature"
|
128
|
+
onclick="popupCode('MailReporter.src/M000046.html');return false;">
|
123
129
|
<span class="method-name">new</span><span class="method-args">(config)</span>
|
124
130
|
</a>
|
125
131
|
</div>
|
@@ -130,12 +136,12 @@
|
|
130
136
|
|
131
137
|
<h3 class="section-bar">Public Instance methods</h3>
|
132
138
|
|
133
|
-
<div id="method-
|
134
|
-
<a name="
|
139
|
+
<div id="method-M000045" class="method-detail">
|
140
|
+
<a name="M000045"></a>
|
135
141
|
|
136
142
|
<div class="method-heading">
|
137
|
-
<a href="MailReporter.src/
|
138
|
-
onclick="popupCode('MailReporter.src/
|
143
|
+
<a href="MailReporter.src/M000045.html" target="Code" class="method-signature"
|
144
|
+
onclick="popupCode('MailReporter.src/M000045.html');return false;">
|
139
145
|
<span class="method-name">default_mail</span><span class="method-args">()</span>
|
140
146
|
</a>
|
141
147
|
</div>
|
@@ -144,12 +150,12 @@
|
|
144
150
|
</div>
|
145
151
|
</div>
|
146
152
|
|
147
|
-
<div id="method-
|
148
|
-
<a name="
|
153
|
+
<div id="method-M000047" class="method-detail">
|
154
|
+
<a name="M000047"></a>
|
149
155
|
|
150
156
|
<div class="method-heading">
|
151
|
-
<a href="MailReporter.src/
|
152
|
-
onclick="popupCode('MailReporter.src/
|
157
|
+
<a href="MailReporter.src/M000047.html" target="Code" class="method-signature"
|
158
|
+
onclick="popupCode('MailReporter.src/M000047.html');return false;">
|
153
159
|
<span class="method-name">error</span><span class="method-args">(error)</span>
|
154
160
|
</a>
|
155
161
|
</div>
|
@@ -158,12 +164,12 @@
|
|
158
164
|
</div>
|
159
165
|
</div>
|
160
166
|
|
161
|
-
<div id="method-
|
162
|
-
<a name="
|
167
|
+
<div id="method-M000049" class="method-detail">
|
168
|
+
<a name="M000049"></a>
|
163
169
|
|
164
170
|
<div class="method-heading">
|
165
|
-
<a href="MailReporter.src/
|
166
|
-
onclick="popupCode('MailReporter.src/
|
171
|
+
<a href="MailReporter.src/M000049.html" target="Code" class="method-signature"
|
172
|
+
onclick="popupCode('MailReporter.src/M000049.html');return false;">
|
167
173
|
<span class="method-name">send_mail</span><span class="method-args">(subject, body)</span>
|
168
174
|
</a>
|
169
175
|
</div>
|
@@ -172,12 +178,12 @@
|
|
172
178
|
</div>
|
173
179
|
</div>
|
174
180
|
|
175
|
-
<div id="method-
|
176
|
-
<a name="
|
181
|
+
<div id="method-M000048" class="method-detail">
|
182
|
+
<a name="M000048"></a>
|
177
183
|
|
178
184
|
<div class="method-heading">
|
179
|
-
<a href="MailReporter.src/
|
180
|
-
onclick="popupCode('MailReporter.src/
|
185
|
+
<a href="MailReporter.src/M000048.html" target="Code" class="method-signature"
|
186
|
+
onclick="popupCode('MailReporter.src/M000048.html');return false;">
|
181
187
|
<span class="method-name">success</span><span class="method-args">()</span>
|
182
188
|
</a>
|
183
189
|
</div>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line 72</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_mail</span>
|
15
15
|
<span class="ruby-constant">Etc</span><span class="ruby-operator">::</span><span class="ruby-identifier">endpwent</span>
|
16
16
|
<span class="ruby-identifier">uname</span> = <span class="ruby-keyword kw">while</span> (<span class="ruby-identifier">pwent</span> = <span class="ruby-constant">Etc</span><span class="ruby-operator">::</span><span class="ruby-identifier">getpwent</span>)
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line 82</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">config</span>)
|
15
15
|
<span class="ruby-ivar">@from</span> = (<span class="ruby-identifier">config</span>[<span class="ruby-identifier">:from</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">default_mail</span>)
|
16
16
|
<span class="ruby-ivar">@to</span> = (<span class="ruby-identifier">config</span>[<span class="ruby-identifier">:to</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">default_mail</span>)
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line 89</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error</span>(<span class="ruby-identifier">error</span>)
|
15
15
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">error</span>.<span class="ruby-identifier">mail?</span>
|
16
16
|
<span class="ruby-identifier">send_mail</span>(<span class="ruby-value str">"Build failed"</span>, <span class="ruby-identifier">error</span>.<span class="ruby-identifier">to_s</span>)
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line 95</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">success</span>
|
15
15
|
<span class="ruby-identifier">send_mail</span>(<span class="ruby-value str">"Build success"</span>, <span class="ruby-node">"finished successfully at #{Time.now}"</span>)
|
16
16
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/autobuild/reporting.rb, line 99</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_mail</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">body</span>)
|
15
15
|
<span class="ruby-identifier">mail</span> = <span class="ruby-constant">RMail</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new</span>
|
16
16
|
<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">date</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>
|
@@ -0,0 +1,24 @@
|
|
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>default_mail (Autobuild::MailReporter)</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/reporting.rb, line 72</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_mail</span>
|
15
|
+
<span class="ruby-constant">Etc</span><span class="ruby-operator">::</span><span class="ruby-identifier">endpwent</span>
|
16
|
+
<span class="ruby-identifier">uname</span> = <span class="ruby-keyword kw">while</span> (<span class="ruby-identifier">pwent</span> = <span class="ruby-constant">Etc</span><span class="ruby-operator">::</span><span class="ruby-identifier">getpwent</span>)
|
17
|
+
<span class="ruby-keyword kw">break</span> (<span class="ruby-identifier">pwent</span>.<span class="ruby-identifier">name</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pwent</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Process</span>.<span class="ruby-identifier">uid</span>
|
18
|
+
<span class="ruby-keyword kw">end</span>
|
19
|
+
|
20
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-node">"FATAL: cannot find a user with uid=#{Process.uid}"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">uname</span>
|
21
|
+
<span class="ruby-node">"#{pwent.name}@#{Socket.gethostname}"</span>
|
22
|
+
<span class="ruby-keyword kw">end</span></pre>
|
23
|
+
</body>
|
24
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
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>new (Autobuild::MailReporter)</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/reporting.rb, line 82</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">config</span>)
|
15
|
+
<span class="ruby-ivar">@from</span> = (<span class="ruby-identifier">config</span>[<span class="ruby-identifier">:from</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">default_mail</span>)
|
16
|
+
<span class="ruby-ivar">@to</span> = (<span class="ruby-identifier">config</span>[<span class="ruby-identifier">:to</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">default_mail</span>)
|
17
|
+
<span class="ruby-ivar">@smtp</span> = (<span class="ruby-identifier">config</span>[<span class="ruby-identifier">:smtp</span>] <span class="ruby-operator">||</span> <span class="ruby-value str">"localhost"</span> )
|
18
|
+
<span class="ruby-ivar">@port</span> = <span class="ruby-constant">Integer</span>(<span class="ruby-identifier">config</span>[<span class="ruby-identifier">:port</span>] <span class="ruby-operator">||</span> <span class="ruby-constant">Socket</span>.<span class="ruby-identifier">getservbyname</span>(<span class="ruby-value str">'smtp'</span>))
|
19
|
+
<span class="ruby-keyword kw">end</span></pre>
|
20
|
+
</body>
|
21
|
+
</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>error (Autobuild::MailReporter)</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/reporting.rb, line 89</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error</span>(<span class="ruby-identifier">error</span>)
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">error</span>.<span class="ruby-identifier">mail?</span>
|
16
|
+
<span class="ruby-identifier">send_mail</span>(<span class="ruby-value str">"Build failed"</span>, <span class="ruby-identifier">error</span>.<span class="ruby-identifier">to_s</span>)
|
17
|
+
<span class="ruby-keyword kw">end</span>
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
19
|
+
</body>
|
20
|
+
</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>success (Autobuild::MailReporter)</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/reporting.rb, line 95</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">success</span>
|
15
|
+
<span class="ruby-identifier">send_mail</span>(<span class="ruby-value str">"Build success"</span>, <span class="ruby-node">"finished successfully at #{Time.now}"</span>)
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,42 @@
|
|
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>send_mail (Autobuild::MailReporter)</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/reporting.rb, line 99</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_mail</span>(<span class="ruby-identifier">subject</span>, <span class="ruby-identifier">body</span>)
|
15
|
+
<span class="ruby-identifier">mail</span> = <span class="ruby-constant">RMail</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new</span>
|
16
|
+
<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">date</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>
|
17
|
+
<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">from</span> = <span class="ruby-ivar">@from</span>
|
18
|
+
<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">to</span> = <span class="ruby-ivar">@to</span>
|
19
|
+
<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">subject</span> = <span class="ruby-identifier">subject</span>
|
20
|
+
|
21
|
+
<span class="ruby-identifier">part</span> = <span class="ruby-constant">RMail</span><span class="ruby-operator">::</span><span class="ruby-constant">Message</span>.<span class="ruby-identifier">new</span>
|
22
|
+
<span class="ruby-identifier">part</span>.<span class="ruby-identifier">header</span>.<span class="ruby-identifier">set</span>(<span class="ruby-value str">'Content-Type'</span>, <span class="ruby-value str">'text/plain'</span>)
|
23
|
+
<span class="ruby-identifier">part</span>.<span class="ruby-identifier">body</span> = <span class="ruby-identifier">body</span>
|
24
|
+
<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">add_part</span>(<span class="ruby-identifier">part</span>)
|
25
|
+
|
26
|
+
<span class="ruby-comment cmt"># Attach log files</span>
|
27
|
+
<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>
|
28
|
+
<span class="ruby-identifier">mail</span>.<span class="ruby-identifier">add_file</span>(<span class="ruby-identifier">file</span>)
|
29
|
+
<span class="ruby-keyword kw">end</span>
|
30
|
+
|
31
|
+
<span class="ruby-comment cmt"># Send the mail</span>
|
32
|
+
<span class="ruby-identifier">smtp</span> = <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">SMTP</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@smtp</span>, <span class="ruby-ivar">@port</span>)
|
33
|
+
<span class="ruby-identifier">smtp</span>.<span class="ruby-identifier">start</span> {
|
34
|
+
<span class="ruby-identifier">smtp</span>.<span class="ruby-identifier">send_mail</span> <span class="ruby-constant">RMail</span><span class="ruby-operator">::</span><span class="ruby-constant">Serialize</span>.<span class="ruby-identifier">write</span>(<span class="ruby-value str">''</span>, <span class="ruby-identifier">mail</span>), <span class="ruby-ivar">@from</span>, <span class="ruby-ivar">@to</span>
|
35
|
+
}
|
36
|
+
|
37
|
+
<span class="ruby-comment cmt"># Notify the sending</span>
|
38
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Sent notification mail to #{@to} with source #{@from}"</span>
|
39
|
+
|
40
|
+
<span class="ruby-keyword kw">end</span></pre>
|
41
|
+
</body>
|
42
|
+
</html>
|
@@ -78,6 +78,20 @@
|
|
78
78
|
|
79
79
|
<div id="contextContent">
|
80
80
|
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
Basic block for the autobuilder
|
84
|
+
</p>
|
85
|
+
<p>
|
86
|
+
The build is done in three phases:
|
87
|
+
</p>
|
88
|
+
<pre>
|
89
|
+
- import
|
90
|
+
- prepare
|
91
|
+
- build & install
|
92
|
+
</pre>
|
93
|
+
|
94
|
+
</div>
|
81
95
|
|
82
96
|
|
83
97
|
</div>
|
@@ -86,16 +100,16 @@
|
|
86
100
|
<h3 class="section-bar">Methods</h3>
|
87
101
|
|
88
102
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
103
|
+
<a href="#M000082">[]</a>
|
104
|
+
<a href="#M000079">depends_on</a>
|
105
|
+
<a href="#M000081">each</a>
|
106
|
+
<a href="#M000077">import</a>
|
107
|
+
<a href="#M000075">installstamp</a>
|
108
|
+
<a href="#M000076">new</a>
|
109
|
+
<a href="#M000074">prefix</a>
|
110
|
+
<a href="#M000078">prepare</a>
|
111
|
+
<a href="#M000080">provides</a>
|
112
|
+
<a href="#M000073">srcdir</a>
|
99
113
|
</div>
|
100
114
|
</div>
|
101
115
|
|
@@ -118,22 +132,44 @@
|
|
118
132
|
<tr class="top-aligned-row context-row">
|
119
133
|
<td class="context-item-name">dependencies</td>
|
120
134
|
<td class="context-item-value"> [R] </td>
|
121
|
-
<td class="context-item-desc"
|
135
|
+
<td class="context-item-desc">
|
136
|
+
The list of packages this one depends upon
|
137
|
+
|
138
|
+
</td>
|
122
139
|
</tr>
|
123
140
|
<tr class="top-aligned-row context-row">
|
124
|
-
<td class="context-item-name">
|
125
|
-
<td class="context-item-value"> [
|
126
|
-
<td class="context-item-desc"
|
141
|
+
<td class="context-item-name">import</td>
|
142
|
+
<td class="context-item-value"> [RW] </td>
|
143
|
+
<td class="context-item-desc">
|
144
|
+
The importer object for this package
|
145
|
+
|
146
|
+
</td>
|
127
147
|
</tr>
|
128
148
|
<tr class="top-aligned-row context-row">
|
129
|
-
<td class="context-item-name">
|
149
|
+
<td class="context-item-name">name</td>
|
130
150
|
<td class="context-item-value"> [R] </td>
|
131
|
-
<td class="context-item-desc"
|
151
|
+
<td class="context-item-desc">
|
152
|
+
the package name
|
153
|
+
|
154
|
+
</td>
|
132
155
|
</tr>
|
133
156
|
<tr class="top-aligned-row context-row">
|
134
|
-
<td class="context-item-name">
|
135
|
-
<td class="context-item-value"> [
|
136
|
-
<td class="context-item-desc"
|
157
|
+
<td class="context-item-name">prefix</td>
|
158
|
+
<td class="context-item-value"> [W] </td>
|
159
|
+
<td class="context-item-desc">
|
160
|
+
set the installation directory. If a relative path is given, it is relative
|
161
|
+
to Autobuild.prefix. Defaults to ’’
|
162
|
+
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
<tr class="top-aligned-row context-row">
|
166
|
+
<td class="context-item-name">srcdir</td>
|
167
|
+
<td class="context-item-value"> [W] </td>
|
168
|
+
<td class="context-item-desc">
|
169
|
+
set the source directory. If a relative path is given, it is relative to
|
170
|
+
Autobuild.srcdir. Defaults to name
|
171
|
+
|
172
|
+
</td>
|
137
173
|
</tr>
|
138
174
|
</table>
|
139
175
|
</div>
|
@@ -145,41 +181,48 @@
|
|
145
181
|
<div id="methods">
|
146
182
|
<h3 class="section-bar">Public Class methods</h3>
|
147
183
|
|
148
|
-
<div id="method-
|
149
|
-
<a name="
|
184
|
+
<div id="method-M000082" class="method-detail">
|
185
|
+
<a name="M000082"></a>
|
150
186
|
|
151
187
|
<div class="method-heading">
|
152
|
-
<a href="Package.src/
|
153
|
-
onclick="popupCode('Package.src/
|
154
|
-
<span class="method-name">[]</span><span class="method-args">(
|
188
|
+
<a href="Package.src/M000082.html" target="Code" class="method-signature"
|
189
|
+
onclick="popupCode('Package.src/M000082.html');return false;">
|
190
|
+
<span class="method-name">[]</span><span class="method-args">(name)</span>
|
155
191
|
</a>
|
156
192
|
</div>
|
157
193
|
|
158
194
|
<div class="method-description">
|
195
|
+
<p>
|
196
|
+
Gets a package from its name
|
197
|
+
</p>
|
159
198
|
</div>
|
160
199
|
</div>
|
161
200
|
|
162
|
-
<div id="method-
|
163
|
-
<a name="
|
201
|
+
<div id="method-M000081" class="method-detail">
|
202
|
+
<a name="M000081"></a>
|
164
203
|
|
165
204
|
<div class="method-heading">
|
166
|
-
<a href="Package.src/
|
167
|
-
onclick="popupCode('Package.src/
|
168
|
-
<span class="method-name">
|
205
|
+
<a href="Package.src/M000081.html" target="Code" class="method-signature"
|
206
|
+
onclick="popupCode('Package.src/M000081.html');return false;">
|
207
|
+
<span class="method-name">each</span><span class="method-args">(with_provides = false, &p)</span>
|
169
208
|
</a>
|
170
209
|
</div>
|
171
210
|
|
172
211
|
<div class="method-description">
|
212
|
+
<p>
|
213
|
+
Iterates on all available packages if with_provides is true, includes the
|
214
|
+
list of package aliases
|
215
|
+
</p>
|
173
216
|
</div>
|
174
217
|
</div>
|
175
218
|
|
176
|
-
<div id="method-
|
177
|
-
<a name="
|
219
|
+
<div id="method-M000076" class="method-detail">
|
220
|
+
<a name="M000076"></a>
|
178
221
|
|
179
222
|
<div class="method-heading">
|
180
|
-
<a href="Package.src/
|
181
|
-
onclick="popupCode('Package.src/
|
182
|
-
<span class="method-name">
|
223
|
+
<a href="Package.src/M000076.html" target="Code" class="method-signature"
|
224
|
+
onclick="popupCode('Package.src/M000076.html');return false;">
|
225
|
+
<span class="method-name">new</span><span class="method-args">(spec) {|self| ...}</span>
|
183
226
|
</a>
|
184
227
|
</div>
|
185
228
|
|
@@ -187,27 +230,32 @@
|
|
187
230
|
</div>
|
188
231
|
</div>
|
189
232
|
|
190
|
-
<
|
191
|
-
|
233
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
234
|
+
|
235
|
+
<div id="method-M000079" class="method-detail">
|
236
|
+
<a name="M000079"></a>
|
192
237
|
|
193
238
|
<div class="method-heading">
|
194
|
-
<a href="Package.src/
|
195
|
-
onclick="popupCode('Package.src/
|
196
|
-
<span class="method-name">
|
239
|
+
<a href="Package.src/M000079.html" target="Code" class="method-signature"
|
240
|
+
onclick="popupCode('Package.src/M000079.html');return false;">
|
241
|
+
<span class="method-name">depends_on</span><span class="method-args">(*packages)</span>
|
197
242
|
</a>
|
198
243
|
</div>
|
199
244
|
|
200
245
|
<div class="method-description">
|
246
|
+
<p>
|
247
|
+
This package depends on <tt>packages</tt>
|
248
|
+
</p>
|
201
249
|
</div>
|
202
250
|
</div>
|
203
251
|
|
204
|
-
<div id="method-
|
205
|
-
<a name="
|
252
|
+
<div id="method-M000077" class="method-detail">
|
253
|
+
<a name="M000077"></a>
|
206
254
|
|
207
255
|
<div class="method-heading">
|
208
|
-
<a href="Package.src/
|
209
|
-
onclick="popupCode('Package.src/
|
210
|
-
<span class="method-name">
|
256
|
+
<a href="Package.src/M000077.html" target="Code" class="method-signature"
|
257
|
+
onclick="popupCode('Package.src/M000077.html');return false;">
|
258
|
+
<span class="method-name">import</span><span class="method-args">()</span>
|
211
259
|
</a>
|
212
260
|
</div>
|
213
261
|
|
@@ -215,54 +263,51 @@
|
|
215
263
|
</div>
|
216
264
|
</div>
|
217
265
|
|
218
|
-
<div id="method-
|
219
|
-
<a name="
|
266
|
+
<div id="method-M000075" class="method-detail">
|
267
|
+
<a name="M000075"></a>
|
220
268
|
|
221
269
|
<div class="method-heading">
|
222
|
-
<a href="Package.src/
|
223
|
-
onclick="popupCode('Package.src/
|
224
|
-
<span class="method-name">
|
270
|
+
<a href="Package.src/M000075.html" target="Code" class="method-signature"
|
271
|
+
onclick="popupCode('Package.src/M000075.html');return false;">
|
272
|
+
<span class="method-name">installstamp</span><span class="method-args">()</span>
|
225
273
|
</a>
|
226
274
|
</div>
|
227
275
|
|
228
276
|
<div class="method-description">
|
277
|
+
<p>
|
278
|
+
The file which marks when the last sucessful install has finished. The path
|
279
|
+
is absolute
|
280
|
+
</p>
|
281
|
+
<p>
|
282
|
+
A package is sucessfully built when it is installed
|
283
|
+
</p>
|
229
284
|
</div>
|
230
285
|
</div>
|
231
286
|
|
232
|
-
<div id="method-
|
233
|
-
<a name="
|
287
|
+
<div id="method-M000074" class="method-detail">
|
288
|
+
<a name="M000074"></a>
|
234
289
|
|
235
290
|
<div class="method-heading">
|
236
|
-
<a href="Package.src/
|
237
|
-
onclick="popupCode('Package.src/
|
238
|
-
<span class="method-name">
|
291
|
+
<a href="Package.src/M000074.html" target="Code" class="method-signature"
|
292
|
+
onclick="popupCode('Package.src/M000074.html');return false;">
|
293
|
+
<span class="method-name">prefix</span><span class="method-args">()</span>
|
239
294
|
</a>
|
240
295
|
</div>
|
241
296
|
|
242
297
|
<div class="method-description">
|
243
|
-
<
|
244
|
-
|
245
|
-
srcdir: the source dir. If a relative path, it is based on $SRCDIR
|
246
|
-
prefix: the install dir. If a relative path, it is based on $PREFIX
|
247
|
-
import: the package importer object
|
248
|
-
depends: the list of package name we depend upon
|
249
|
-
provides: a list of aliases for this package
|
250
|
-
</pre>
|
251
|
-
<p>
|
252
|
-
$SRCDIR and $PREFIX are supposed to be valid absolute paths
|
298
|
+
<p>
|
299
|
+
Absolute path to the installation directory. See prefix=
|
253
300
|
</p>
|
254
301
|
</div>
|
255
302
|
</div>
|
256
303
|
|
257
|
-
<
|
258
|
-
|
259
|
-
<div id="method-M000089" class="method-detail">
|
260
|
-
<a name="M000089"></a>
|
304
|
+
<div id="method-M000078" class="method-detail">
|
305
|
+
<a name="M000078"></a>
|
261
306
|
|
262
307
|
<div class="method-heading">
|
263
|
-
<a href="Package.src/
|
264
|
-
onclick="popupCode('Package.src/
|
265
|
-
<span class="method-name">
|
308
|
+
<a href="Package.src/M000078.html" target="Code" class="method-signature"
|
309
|
+
onclick="popupCode('Package.src/M000078.html');return false;">
|
310
|
+
<span class="method-name">prepare</span><span class="method-args">()</span>
|
266
311
|
</a>
|
267
312
|
</div>
|
268
313
|
|
@@ -270,31 +315,37 @@ $SRCDIR and $PREFIX are supposed to be valid absolute paths
|
|
270
315
|
</div>
|
271
316
|
</div>
|
272
317
|
|
273
|
-
<div id="method-
|
274
|
-
<a name="
|
318
|
+
<div id="method-M000080" class="method-detail">
|
319
|
+
<a name="M000080"></a>
|
275
320
|
|
276
321
|
<div class="method-heading">
|
277
|
-
<a href="Package.src/
|
278
|
-
onclick="popupCode('Package.src/
|
279
|
-
<span class="method-name">
|
322
|
+
<a href="Package.src/M000080.html" target="Code" class="method-signature"
|
323
|
+
onclick="popupCode('Package.src/M000080.html');return false;">
|
324
|
+
<span class="method-name">provides</span><span class="method-args">(*packages)</span>
|
280
325
|
</a>
|
281
326
|
</div>
|
282
327
|
|
283
328
|
<div class="method-description">
|
329
|
+
<p>
|
330
|
+
Declare that this package provides <tt>packages</tt>
|
331
|
+
</p>
|
284
332
|
</div>
|
285
333
|
</div>
|
286
334
|
|
287
|
-
<div id="method-
|
288
|
-
<a name="
|
335
|
+
<div id="method-M000073" class="method-detail">
|
336
|
+
<a name="M000073"></a>
|
289
337
|
|
290
338
|
<div class="method-heading">
|
291
|
-
<a href="Package.src/
|
292
|
-
onclick="popupCode('Package.src/
|
293
|
-
<span class="method-name">
|
339
|
+
<a href="Package.src/M000073.html" target="Code" class="method-signature"
|
340
|
+
onclick="popupCode('Package.src/M000073.html');return false;">
|
341
|
+
<span class="method-name">srcdir</span><span class="method-args">()</span>
|
294
342
|
</a>
|
295
343
|
</div>
|
296
344
|
|
297
345
|
<div class="method-description">
|
346
|
+
<p>
|
347
|
+
Absolute path to the source directory. See srcdir=
|
348
|
+
</p>
|
298
349
|
</div>
|
299
350
|
</div>
|
300
351
|
|