Makefile: add upload-osx-pkg rule

This commit is contained in:
Brian Warner 2015-03-20 10:52:48 -07:00
parent 681eb4d12e
commit 7846f5f9c8

View File

@ -59,6 +59,14 @@ build-osx-pkg: build
# test the result
$(PYTHON) misc/build_helpers/test-osx-pkg.py
.PHONY: upload-osx-pkg
upload-osx-pkg:
@if [ "X${BB_BRANCH}" = "Xmaster" ] || [ "X${BB_BRANCH}" = "X" ]; then \
flappclient --furlfile ~/.tahoe-osx-pkg-upload.furl upload-file tahoe-lafs-osx.pkg; \
else \
echo not uploading tahoe-lafs-osx-pkg because this is not trunk but is branch \"${BB_BRANCH}\" ; \
fi
# TESTING
# you can use 'make test TEST=allmydata.test.test_introducer' to run just