forked from rabbitmq/rabbitmq-objc-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (27 loc) · 923 Bytes
/
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
tests: tests_iOS tests_OSX
iOS_VERSION := 10.2
RABBITMQCTL := /usr/local/sbin/rabbitmqctl
tests_iOS: test_dependencies
set -o pipefail && \
xcodebuild test \
-project RMQClient.xcodeproj \
-scheme RMQClient \
-destination 'platform=iOS Simulator,name=iPhone SE,OS=$(iOS_VERSION)' | \
xcpretty
tests_OSX: test_dependencies
set -o pipefail && \
xcodebuild test \
-project RMQClient.xcodeproj \
-scheme RMQClient \
-destination 'platform=OS X,arch=x86_64' | \
xcpretty
test_dependencies: bootstrap
gem list -i xcpretty || gem install xcpretty
bootstrap:
bin/bootstrap-if-needed
test_user:
$(RABBITMQCTL) add_user "O=client,CN=guest" bunnies && \
$(RABBITMQCTL) set_permissions "O=client,CN=guest" ".*" ".*" ".*"
licenses:
bin/add-license rb '#' license-header-ruby.txt codegen/ && \
bin/add-license m,h,swift '//' license-header.txt RMQClient/ RMQClientTests/ RMQClientIntegrationTests/