Files
zulip/tools/build-api-tarball
Luke Faraone 5a0f1897bc Add humbug-send, a more full-featured sending tool.
(imported from commit 631f3c7320192a502b60bc4c4838d068ed60ee76)
2012-12-12 16:48:00 -05:00

9 lines
240 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
git archive --prefix=humbug-api/ -o /tmp/humbug-api.tar.gz "$ref" examples/ humbug.py __init__.py README bin/