Add some helpful scripts

This commit is contained in:
Ben Firshman 2013-12-20 21:32:41 +00:00
parent fb445b3a06
commit 7b925b8eac
3 changed files with 19 additions and 0 deletions

3
script/clean Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
find . -type f -name '*.pyc' -delete

14
script/release Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
set -xe
if [ -z "$1" ]; then
echo 'pass a version as first argument'
exit 1
fi
git tag $1
git push --tags
python setup.py sdist upload

2
script/test Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
nosetests