[Bps-public-commit] r10861 - Shipwright/trunk/lib

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Feb 15 12:50:32 EST 2008


Author: sunnavy
Date: Fri Feb 15 12:50:28 2008
New Revision: 10861

Modified:
   Shipwright/trunk/lib/Shipwright.pm

Log:
more docs

Modified: Shipwright/trunk/lib/Shipwright.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright.pm	(original)
+++ Shipwright/trunk/lib/Shipwright.pm	Fri Feb 15 12:50:28 2008
@@ -19,6 +19,33 @@
 =head2 new
 
 initialize all Shipwright's components if possible.
+args is a hash, supported keys: 
+
+general part:
+
+    repository: specify backend's path. e.g. svk:/t/test
+    log_level: specify log level. default is INFO
+    log_file: specify log file. default is append to screen.
+
+source part:
+
+    source: source need to import
+    name: source's name
+    follow: follow dep chain or not. default is true
+    min_perl_version: minimal required perl version. 
+             default is the same as the perl which's running shipwright
+    skip: hashref of which the keys are the skipped modules when import
+          default is undefined
+
+build part:
+
+    skip: hashref of which the keys are the skipped dists when install
+          default is undefined
+    skip_test: skip test or not. default is false
+    install_base: install base path. default is a temp directory
+    force: force install even if tests fail. default is false
+    only_test: not install, just test. (used for already installed dists)
+                default is false
 
 =cut
 



More information about the Bps-public-commit mailing list