couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Tips & Tricks for developers" by JanLehnardt
Date Sat, 07 Mar 2009 13:04:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/Tips_%26_Tricks_for_developers

New page:
Collecting tips and tricks that makes a CouchDB developer's life easier.

If you find yourself building CouchDB from scratch a lot the following shell script function
might save some typing. This is sh-script, but only tested on bash. Add it to your `.bashrc`
or `.profile` file or wherever you store shell customisations.

{{{
buildcouch()
{
    if test -z "$1"; then
        echo "speficy target dir"
        return
    fi
    ./bootstrap && \
    ./configure --prefix=$1 && \
    make -j4 && \
    make install
}
}}}

It gives you a new command in your shell `buildcouch` (just change the function name if you
don't like it).

{{{
cd Work/couchdb/trunk
buildcouch /path/to/testinstall
}}}

Mime
View raw message