forked from dkhunt27/stomp-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (35 loc) · 1.94 KB
/
Makefile
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
30
31
32
33
34
35
36
37
38
39
40
ACTIVEMQ_HOME = "/usr/local/Cellar/activemq/5.7.0"
start:;@ \
echo "...starting activemq server..."; \
pushd ${ACTIVEMQ_HOME}; \
bin/activemq start; \
popd; \
echo "----------------------------------------------------------------------------------------------------------"; \
echo "----------------------------------------------------------------------------------------------------------"; \
echo "Started!!!"; \
echo "...http://localhost:8161/admin to manage activemq"; \
echo "----------------------------------------------------------------------------------------------------------"; \
echo "----------------------------------------------------------------------------------------------------------"; \
stop:;@ \
echo "----------------------------------------------------------------------------------------------------------"; \
echo "----------------------------------------------------------------------------------------------------------"; \
echo "...stopping activemq server..."; \
pushd ${ACTIVEMQ_HOME}; \
bin/activemq stop \
popd; \
echo "----------------------------------------------------------------------------------------------------------"; \
echo "----------------------------------------------------------------------------------------------------------"; \
echo "Stopped!!!"; \
testUnit:;@echo "Running unit tests ..."; \
./node_modules/.bin/mocha ./test/*.Unit.Tests.js \
--reporter spec \
--recursive \
--globals "logger,events,buffertools,SlowBuffer, util"
testInt:;@echo "Running integration tests..."; \
./node_modules/.bin/mocha ./test/*.Integration.Tests.js \
--reporter spec \
--recursive \
--timeout 2000 \
--globals "logger"
jsduck:;@echo "Running jsduck to build documentation..."; \
jsduck --config=jsduckConfig.json