| 1 | === Bitten Recipe Collection === |
| 2 | Following are a few more real working recipe to demostrate the bitten recipe commands and their uses. |
| 3 | ==== Automation of getting and untar hello-2.3.tar.gz from ftp.gnu.org ==== |
| 4 | {{{ |
| 5 | <!-- |
| 6 | Tested on fedora 9 |
| 7 | --> |
| 8 | <build description="Getting files" |
| 9 | xmlns:sh="http://bitten.cmlenz.net/tools/sh"> |
| 10 | <step id="Getting hello-2.3.tar.gz from ftp.gnu.org using wget"> |
| 11 | <sh:exec file="/usr/bin/wget" args="ftp://ftp.gnu.org/pub/gnu/hello/hello-2.3.tar.gz"/> |
| 12 | </step> |
| 13 | <step id="untar hello-2.3.tar.gz"> |
| 14 | <sh:exec executable="gtar" args="xzf hello-2.3.tar.gz"/> |
| 15 | </step> |
| 16 | </build> |
| 17 | |
| 18 | }}} |