mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
Don't build non-send_message bindings.
(imported from commit 4e94989e3da7d87490e483d6d2ecc39a0824ced0)
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh -x
|
#!/bin/sh -x
|
||||||
|
|
||||||
cd api/
|
cd api/
|
||||||
|
# Strip out non-send_message bindings.
|
||||||
|
perl -i.bak -ne 'print if !m/Client._register/ ||m/send_message/' humbug/__init__.py
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
|
mv humbug/__init__.py.bak humbug/__init__.py
|
||||||
echo API tarball written to api/dist
|
echo API tarball written to api/dist
|
||||||
|
|||||||
Reference in New Issue
Block a user