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,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>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>
|
@@ -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>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>
|
@@ -1,42 +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>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>
|
@@ -1,24 +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>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>
|
@@ -1,21 +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>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>
|
@@ -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>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>
|
@@ -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>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>
|
@@ -1,42 +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>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>
|
@@ -1,364 +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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Autobuild::Package</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Autobuild::Package</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/autobuild/package_rb.html">
|
59
|
-
lib/autobuild/package.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
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>
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
<div id="method-list">
|
100
|
-
<h3 class="section-bar">Methods</h3>
|
101
|
-
|
102
|
-
<div class="name-list">
|
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>
|
113
|
-
</div>
|
114
|
-
</div>
|
115
|
-
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
<!-- if includes -->
|
120
|
-
|
121
|
-
<div id="section">
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
<div id="attribute-list">
|
128
|
-
<h3 class="section-bar">Attributes</h3>
|
129
|
-
|
130
|
-
<div class="name-list">
|
131
|
-
<table>
|
132
|
-
<tr class="top-aligned-row context-row">
|
133
|
-
<td class="context-item-name">dependencies</td>
|
134
|
-
<td class="context-item-value"> [R] </td>
|
135
|
-
<td class="context-item-desc">
|
136
|
-
The list of packages this one depends upon
|
137
|
-
|
138
|
-
</td>
|
139
|
-
</tr>
|
140
|
-
<tr class="top-aligned-row context-row">
|
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>
|
147
|
-
</tr>
|
148
|
-
<tr class="top-aligned-row context-row">
|
149
|
-
<td class="context-item-name">name</td>
|
150
|
-
<td class="context-item-value"> [R] </td>
|
151
|
-
<td class="context-item-desc">
|
152
|
-
the package name
|
153
|
-
|
154
|
-
</td>
|
155
|
-
</tr>
|
156
|
-
<tr class="top-aligned-row context-row">
|
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>
|
173
|
-
</tr>
|
174
|
-
</table>
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
<!-- if method_list -->
|
181
|
-
<div id="methods">
|
182
|
-
<h3 class="section-bar">Public Class methods</h3>
|
183
|
-
|
184
|
-
<div id="method-M000082" class="method-detail">
|
185
|
-
<a name="M000082"></a>
|
186
|
-
|
187
|
-
<div class="method-heading">
|
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>
|
191
|
-
</a>
|
192
|
-
</div>
|
193
|
-
|
194
|
-
<div class="method-description">
|
195
|
-
<p>
|
196
|
-
Gets a package from its name
|
197
|
-
</p>
|
198
|
-
</div>
|
199
|
-
</div>
|
200
|
-
|
201
|
-
<div id="method-M000081" class="method-detail">
|
202
|
-
<a name="M000081"></a>
|
203
|
-
|
204
|
-
<div class="method-heading">
|
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>
|
208
|
-
</a>
|
209
|
-
</div>
|
210
|
-
|
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>
|
216
|
-
</div>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
<div id="method-M000076" class="method-detail">
|
220
|
-
<a name="M000076"></a>
|
221
|
-
|
222
|
-
<div class="method-heading">
|
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>
|
226
|
-
</a>
|
227
|
-
</div>
|
228
|
-
|
229
|
-
<div class="method-description">
|
230
|
-
</div>
|
231
|
-
</div>
|
232
|
-
|
233
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
234
|
-
|
235
|
-
<div id="method-M000079" class="method-detail">
|
236
|
-
<a name="M000079"></a>
|
237
|
-
|
238
|
-
<div class="method-heading">
|
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>
|
242
|
-
</a>
|
243
|
-
</div>
|
244
|
-
|
245
|
-
<div class="method-description">
|
246
|
-
<p>
|
247
|
-
This package depends on <tt>packages</tt>
|
248
|
-
</p>
|
249
|
-
</div>
|
250
|
-
</div>
|
251
|
-
|
252
|
-
<div id="method-M000077" class="method-detail">
|
253
|
-
<a name="M000077"></a>
|
254
|
-
|
255
|
-
<div class="method-heading">
|
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>
|
259
|
-
</a>
|
260
|
-
</div>
|
261
|
-
|
262
|
-
<div class="method-description">
|
263
|
-
</div>
|
264
|
-
</div>
|
265
|
-
|
266
|
-
<div id="method-M000075" class="method-detail">
|
267
|
-
<a name="M000075"></a>
|
268
|
-
|
269
|
-
<div class="method-heading">
|
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>
|
273
|
-
</a>
|
274
|
-
</div>
|
275
|
-
|
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>
|
284
|
-
</div>
|
285
|
-
</div>
|
286
|
-
|
287
|
-
<div id="method-M000074" class="method-detail">
|
288
|
-
<a name="M000074"></a>
|
289
|
-
|
290
|
-
<div class="method-heading">
|
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>
|
294
|
-
</a>
|
295
|
-
</div>
|
296
|
-
|
297
|
-
<div class="method-description">
|
298
|
-
<p>
|
299
|
-
Absolute path to the installation directory. See prefix=
|
300
|
-
</p>
|
301
|
-
</div>
|
302
|
-
</div>
|
303
|
-
|
304
|
-
<div id="method-M000078" class="method-detail">
|
305
|
-
<a name="M000078"></a>
|
306
|
-
|
307
|
-
<div class="method-heading">
|
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>
|
311
|
-
</a>
|
312
|
-
</div>
|
313
|
-
|
314
|
-
<div class="method-description">
|
315
|
-
</div>
|
316
|
-
</div>
|
317
|
-
|
318
|
-
<div id="method-M000080" class="method-detail">
|
319
|
-
<a name="M000080"></a>
|
320
|
-
|
321
|
-
<div class="method-heading">
|
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>
|
325
|
-
</a>
|
326
|
-
</div>
|
327
|
-
|
328
|
-
<div class="method-description">
|
329
|
-
<p>
|
330
|
-
Declare that this package provides <tt>packages</tt>
|
331
|
-
</p>
|
332
|
-
</div>
|
333
|
-
</div>
|
334
|
-
|
335
|
-
<div id="method-M000073" class="method-detail">
|
336
|
-
<a name="M000073"></a>
|
337
|
-
|
338
|
-
<div class="method-heading">
|
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>
|
342
|
-
</a>
|
343
|
-
</div>
|
344
|
-
|
345
|
-
<div class="method-description">
|
346
|
-
<p>
|
347
|
-
Absolute path to the source directory. See srcdir=
|
348
|
-
</p>
|
349
|
-
</div>
|
350
|
-
</div>
|
351
|
-
|
352
|
-
|
353
|
-
</div>
|
354
|
-
|
355
|
-
|
356
|
-
</div>
|
357
|
-
|
358
|
-
|
359
|
-
<div id="validator-badges">
|
360
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
361
|
-
</div>
|
362
|
-
|
363
|
-
</body>
|
364
|
-
</html>
|