#!/usr/bin/env bash

pushd `dirname $0` > /dev/null
SCRIPTPATH=`pwd -P`
popd > /dev/null

ROOTPATH="$SCRIPTPATH/.."

pushd "$ROOTPATH" > /dev/null

rm -rfv .installed.cfg .mr.developer.cfg parts/ eggs/ develop-eggs/ bin/ \
    src/cm/settings_local.py test-suite/workspace.info*.js \
    test-suite/{clean-testserver.sh,karma.conf.full.js} \
    test-suite/{start-test-suite-full.sh,start-testserver.sh}

find . -name '*.pyc' -or -name '*.egg-info' | xargs rm -rvf

popd > /dev/null

