blob: 5eb9e2f1f71c8d84d86eb80f5d2d18c55abcfd88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
|