mirror of
https://github.com/zulip/zulip.git
synced 2025-11-23 07:52:35 +00:00
This way you can just extract it to a directory on your PYTHONPATH and do an "import humbug" (imported from commit d71de15fa51a0dde6534046902cfa058064a77ef)
9 lines
243 B
Bash
Executable File
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/
|