Make API tarballs have a prefix of humbug/

This way you can just extract it to a directory on your PYTHONPATH and
do an "import humbug"

(imported from commit d71de15fa51a0dde6534046902cfa058064a77ef)
This commit is contained in:
Luke Faraone 2013-01-16 11:16:47 -05:00
parent 4463f267b3
commit d7d5621602
1 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@ if [ -z "$ref" ]; then
echo "You must specify the ref to base the API tarball on." echo "You must specify the ref to base the API tarball on."
exit 1 exit 1
fi fi
cd api cd api/humbug
git archive --prefix=humbug-api/ -o /tmp/humbug-api.tar.gz "$ref" examples/ humbug.py __init__.py README bin/ git archive --prefix=humbug/ -o /tmp/humbug-api.tar.gz "$ref" examples/ humbug.py __init__.py README bin/