#!/bin/sh
# you will need to read the top level README, and run bootstrap.py
# and buildout in order to make pyjsbuild

# pyflakes -- static checking
find . -name '*.py' -exec pyflakes '{}' ';'

options="$*"
if [ -z $options ] ; then options="-O";fi
/home/waterbug/envs/wsgi-env/src/pyjs/pyjs-0.8/bin/pyjsbuild $options \
                                --bootstrap-file=bootstrap_progress.js \
                                -I ../customjammies \
                                home

patch output/bootstrap_progress.js ../customjammies/bootstrap_progress.js.patch
