[Bps-public-commit] r10010 - bpsbuilder/BPB/docs
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed Dec 19 09:27:14 EST 2007
Author: sunnavy
Date: Wed Dec 19 09:27:13 2007
New Revision: 10010
Modified:
bpsbuilder/BPB/docs/tutorial
Log:
typo fix
Modified: bpsbuilder/BPB/docs/tutorial
==============================================================================
--- bpsbuilder/BPB/docs/tutorial (original)
+++ bpsbuilder/BPB/docs/tutorial Wed Dec 19 09:27:13 2007
@@ -1,6 +1,5 @@
-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 ;)
+In fact, we don't have greate tests for bpb, we're sad about it too!
+So, let's run the tutorial, if it works, it works ;)
ok, we'll build a simple project, e.g we want to build Jifty::DBI, here's the
instructions:
@@ -10,31 +9,28 @@
jdbi:
backend:
- module: SVK # we now only support SVK
- repository: '//local/jdbi' # where our project live
+ module: SVK # now we only support SVK
+ repository: '//local/jdbi' # where our project lives
source:
min_perl_version: 5.008008
build:
install_base: '/tmp/jdbi' # where our project will be installed
perl: '/usr/bin/perl' # which perl we will use
- skip_test: 0
+ skip_test: 0 # skip the test or not, 1 means yes, 0 means no
extra_lib:
- 'lib/perl5/darwin-thread-multi-2level' # this depends on your system
2. init bpb's backend
-$ perl -Ilib bin/bpb create --name jdbi
+$ bpb create --name jdbi
3. import
-$ perl -Ilib bin/bpb import --name jdbi Jifty::DBI
+$ bpb import --name jdbi Jifty::DBI
4. build
-$ perl -Ilib bin/bpb build --name jdbi
-this will install JDBI to '/tmp/install', which is specified in your config.yml
-
+$ bpb build --name jdbi
now you can check to see if it works as you think :)
-
More information about the Bps-public-commit
mailing list