mirror of https://github.com/zulip/zulip.git
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:
parent
4463f267b3
commit
d7d5621602
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue