[Bps-public-commit] r10007 - bpsbuilder/BPB/docs

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Dec 19 08:55:47 EST 2007


Author: sunnavy
Date: Wed Dec 19 08:55:47 2007
New Revision: 10007

Modified:
   bpsbuilder/BPB/docs/tutorial

Log:
updated tutorial

Modified: bpsbuilder/BPB/docs/tutorial
==============================================================================
--- bpsbuilder/BPB/docs/tutorial	(original)
+++ bpsbuilder/BPB/docs/tutorial	Wed Dec 19 08:55:47 2007
@@ -1,18 +1,25 @@
-e.g we want to build Jifty::DBI
+this is a tutorial, in fact, we don't have greate tests for bpb, we're sad
+abot it too!
+So, let's run the tutorial, if it works, then it works ;)
+
+ok, we'll build a simple project, e.g we want to build Jifty::DBI, here's the
+instructions:
 
 1. config our bpb
 in ~/.bpb/config.yml
 
 jdbi:
     backend:
-        module: SVK
-        repository: '//local/jdbi'
+        module: SVK # we now only support SVK
+        repository: '//local/jdbi' # where our project live
     source:
         min_perl_version: 5.008008
     build:
-        install_base: '/tmp/install'
-        perl: '/usr/bin/perl'
+        install_base: '/tmp/jdbi' # where our project will be installed
+        perl: '/usr/bin/perl'  # which perl we will use
         skip_test: 0
+        extra_lib:
+            - 'lib/perl5/darwin-thread-multi-2level' # this depends on your system
 
 2. init bpb's backend
 
@@ -27,3 +34,7 @@
 $ perl -Ilib bin/bpb build --name jdbi
 this will install JDBI to '/tmp/install', which is specified in your config.yml
 
+
+now you can check to see if it works as you think :)
+
+



More information about the Bps-public-commit mailing list