mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 02:48:12 +00:00
28 lines
889 B
Makefile
28 lines
889 B
Makefile
WORKSPACE = Example/RSKImageCropperExample.xcworkspace
|
|
SCHEME = RSKImageCropperExample
|
|
CONFIGURATION = Release
|
|
DEVICE_HOST = platform='iOS Simulator',OS='8.1',name='iPhone 4s'
|
|
|
|
.PHONY: all build ci clean test lint
|
|
|
|
all: ci
|
|
|
|
build:
|
|
set -o pipefail && xcodebuild -workspace $(WORKSPACE) -scheme $(SCHEME) -configuration '$(CONFIGURATION)' -sdk iphonesimulator -destination $(DEVICE_HOST) build | bundle exec xcpretty -c
|
|
|
|
clean:
|
|
xcodebuild -workspace $(WORKSPACE) -scheme $(SCHEME) -configuration '$(CONFIGURATION)' clean
|
|
|
|
test:
|
|
set -o pipefail && xcodebuild -workspace $(WORKSPACE) -scheme $(SCHEME) -configuration Debug test -sdk iphonesimulator -destination $(DEVICE_HOST) | bundle exec second_curtain | bundle exec xcpretty -c --test
|
|
|
|
lint:
|
|
bundle exec fui --path Example/RSKImageCropperExample find
|
|
|
|
ci: CONFIGURATION = Debug
|
|
ci: build
|
|
|
|
bundler:
|
|
gem install bundler
|
|
bundle install
|