diff options
Diffstat (limited to 'python/Makefile')
| -rw-r--r-- | python/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/python/Makefile b/python/Makefile new file mode 100644 index 0000000..5eb9e2f --- /dev/null +++ b/python/Makefile @@ -0,0 +1,29 @@ +include ../Makefile.inc + + +.PHONY: all +all: build + +.PHONY: build +build: + cat ../common/LICENSE_HEADER > ./Pubnub.py + echo "\n" >> ./Pubnub.py + cat ../common/PubnubCrypto.py >> ./Pubnub.py + echo "\n" >> ./Pubnub.py + cat ../common/PubnubBase.py >> ./Pubnub.py + echo "\n" >> ./Pubnub.py + cat ../common/PubnubCore.py >> ./Pubnub.py + echo "\n" >> ./Pubnub.py + cat ./unassembled/Platform.py >> ./Pubnub.py + find -name "Pubnub*py" | xargs sed -i "s/PubNub\ [0-9]\.[0-9]\.[0-9]/PubNub\ $(VERSION)/g" + + +.PHONY: clean +clean: + rm -f Pubnub.py* + +.PHONY: test +test: + python tests/detailed-history-unit-test.py + python tests/unit-test.py + |
