File: Makefile

package info (click to toggle)
rabbitmq-server 3.3.5-1.1
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 12,004 kB
  • sloc: erlang: 78,203; python: 3,187; xml: 2,843; makefile: 903; sh: 831; java: 660; perl: 64; ruby: 63
file content (26 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (2)
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
CLIENT_DIR=swiftmq_9_2_5_client
CLIENT_PKG=$(CLIENT_DIR).zip

.PHONY: test

test: build/lib
	ant test

build/lib: $(CLIENT_PKG)
	mkdir -p build/tmp
	unzip -d build/tmp $(CLIENT_PKG)
	mkdir -p build/lib
	mv build/tmp/$(CLIENT_DIR)/jars/*.jar build/lib
	rm -rf build/tmp
	cp ../lib-java/*.jar build/lib

$(CLIENT_PKG):
	@echo
	@echo You need $(CLIENT_PKG) to run these tests. Unfortunately we can\'t
	@echo redistribute it. Obtain it from the SwiftMQ website and place it
	@echo in $(shell pwd).
	@echo
	@false

clean:
	rm -rf build