We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2840156 commit 2c38786Copy full SHA for 2c38786
parse/Makefile
@@ -0,0 +1,27 @@
1
+include ../Makefile.inc
2
+
3
+OUTPUT_FILES=$(PUBNUB_JS)
4
+PLATFORM=Parse
5
6
+.PHONY: all
7
+all: build
8
9
+.PHONY: build
10
+build: $(PUBNUB_JS)
11
12
+$(PUBNUB_JS): $(PUBNUB_COMMON_JS) $(PUBNUB_NODE_JS)
13
+ $(ECHO) "// Version: $(VERSION)" > $(PUBNUB_JS)
14
+ cat $(PUBNUB_COMMON_JS) $(PUBNUB_PLATFORM_JS) >> $(PUBNUB_JS)
15
+ sed -i -e "s/\"version\"\: \".*\"/\"version\"\: \"$(VERSION)\"/g" $(PACKAGE_JSON)
16
+ sed -i -e "s/VERSION/\'$(VERSION)\'/g" $(PUBNUB_JS)
17
+ sed -i -e "s/PLATFORM/\'$(PLATFORM)\'/g" $(PUBNUB_JS)
18
19
+.PHONY: clean
20
+clean:
21
+ rm -f $(OUTPUT_FILES)
22
23
+.PHONY: test
24
+test:
25
+ mocha -R spec tests/test.js
26
27
+include ../Makefile.post
0 commit comments