Skip to content

Commit

Permalink
Added Screenshots, Added Makefile to work with XCPretty
Browse files Browse the repository at this point in the history
  • Loading branch information
JaviLorbada committed Dec 31, 2013
1 parent 0432e5b commit 0edbd31
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 8 deletions.
21 changes: 21 additions & 0 deletions Makefile
@@ -0,0 +1,21 @@
PROJECT_NAME=JLTMDbClient
WORKSPACE=$(PROJECT_NAME).xcworkspace
DEFAULT_SCHEME=$(PROJECT_NAME)
DEFAULT_FLAGS=-sdk iphonesimulator
TESTING_TOOL=xcodebuild

DEFAULT_TASK=$(TESTING_TOOL) -workspace $(WORKSPACE) -scheme $(DEFAULT_SCHEME) $(DEFAULT_FLAGS)

clean:
$(DEFAULT_TASK) clean

test:
$(DEFAULT_TASK) test | xcpretty -tc

install:
gem install cocoapods --no-ri --no-rdoc
gem install xcpretty --no-ri --no-rdoc
pod install

ci:
$(DEFAULT_TASK) test | xcpretty -c
8 changes: 3 additions & 5 deletions Podfile.lock
Expand Up @@ -11,9 +11,7 @@ PODS:
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/NSURLSession (2.0.1):
- AFNetworking/Reachability
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/NSURLConnection
- AFNetworking/Reachability (2.0.1)
- AFNetworking/Security (2.0.1)
- AFNetworking/Serialization (2.0.1)
Expand All @@ -33,8 +31,8 @@ DEPENDENCIES:
- Kiwi/XCTest

SPEC CHECKSUMS:
AFNetworking: a6f11ac4ac087303e6ff87adc1ba57b0dac20ef8
AFNetworking: 867cd74266eeab923f249aa8b3d56899a67cc50e
JLTMDbClient: 2359fb8d71c4c4451ad102a574df7544a4d24bb9
Kiwi: 03539aeb004ccd42bdbc31253617b26364315df4

COCOAPODS: 0.26.2
COCOAPODS: 0.29.0
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@ JLTMDbClient [![License MIT](http://b.repl.ca/v1/License-MIT-blue.png)](https://
- The best way to get JLTMDbClient is by using [CocoaPods](http://cocoapods.org/).
- [How to install CocoaPods](https://speakerdeck.com/javilorbada/introduction-to-cocoapods?slide=13)

## Demo App: ##
## Demo App:

1. Clone the repository:
```
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
@@ -1,9 +1,9 @@
namespace :test do
desc "Run the JLTMDbClient Tests"
task :all do
# $success = system("xctool -workspace JLTMDbClient.xcworkspace -scheme JLTMDbClientTests -sdk iphonesimulator test -test-sdk iphonesimulator")
system("xcodebuild clean -target JLTMDbClientTests")
$success = system("xcodebuild test -workspace JLTMDbClient.xcworkspace -scheme JLTMDbClientTests -sdk iphonesimulator")
$success = system("xctool -workspace JLTMDbClient.xcworkspace -scheme JLTMDbClientTests -sdk iphonesimulator test -test-sdk iphonesimulator")
# $success = system("xcodebuild test -workspace JLTMDbClient.xcworkspace -scheme JLTMDbClientTests -sdk iphonesimulator")
end
end

Expand Down
Binary file added Resources/JLTMDBClientTest_xcpretty.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/JLTMDBClientTest_xctool.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/MovieDetail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/MovieList.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0edbd31

Please sign in to comment.