Files
zulip/tools/build-api-tarball
Luke Faraone d7d5621602 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)
2013-01-16 16:56:58 -05:00

9 lines
243 B
Bash
Executable File

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