You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2018/04/06 19:02:15 UTC
[Couchdb Wiki] Update of "Tips_&_Tricks_for_developers" by JoanTouzet
Dear wiki user,
You have subscribed to a wiki page "Couchdb Wiki" for change notification.
The page "Tips_&_Tricks_for_developers" has been deleted by JoanTouzet:
https://wiki.apache.org/couchdb/Tips_%26_Tricks_for_developers?action=diff&rev1=4&rev2=5
Comment:
this doesn't work anymore, the entire build system has been reworked
- <<Include(EditTheWiki)>>
- 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). Set the `make -j` value to the number of cores in your system `+1`.
-
- {{{
- cd Work/couchdb/trunk
- buildcouch /path/to/testinstall
- }}}
-