BetterBatch 1.3.2

Simplified script runner

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
LGPL (GNU Lesser General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Mark Mc Mahon
HOMEPAGE:
code.google.com
CATEGORY:
ROOT \ Utilities
The BetterBatch pacakge contains scripts designed as a middle ground between shell/batch scripts and more complete programming languages (Python, Perl, etc.).

It is designed to make it very easy to call shell commands but to also do so safely, in that an error will make the script stop immediately.

As such you can generally provide scripts that do not have to perform much error checking while still being very safe.

Also scripts are validated as much as possible before executation starts, so this should avoid simple errors only being found after some steps have been executed.

BetterBatch has been designed as a very simple process automation script (e.g. build script, and could be used for processes that are not required to track build dependencies (waf, scons are more suitable for those kinds of projects).

Here is an example script:

# or user specific configuration
- if exist < shell.username >.bb:
 - include < shell.username >.bb

# you can define your own variables
- set project_root=< __script_dir__ >

- copy < project_root >\*.xyz < shell.tmp >ackup


Tested with python 2.5.1 and 2.6.4

Last updated on September 8th, 2011

requirements

#script runner #batch scripts #shell scripts #batch #shell #scripts #runner

Add your review!

SUBMIT