File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,17 +6,18 @@ Prerequisites:
66--------
77
88#### Global
9- - Install [ imagemagick] ( http://brewformulas.org/Imagemagick ) .
9+ $ brew install imagemagick
1010
1111#### Android
12- - Install [ SDK Tools] ( http://developer.android.com/sdk/installing/index.html?pkg=tools ) .
13- - SDK tools are added to your $PATH ([ OSX] ( https://stackoverflow.com/posts/19764254/revisions ) ).
14- - Enable [ USB Debugging] ( https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm ) on your device(s).
12+ # Install [SDK Tools](http://developer.android.com/sdk/installing/index.html?pkg=tools).
13+ # SDK tools are added to your $PATH ([OSX](https://stackoverflow.com/posts/19764254/revisions)).
14+ # Enable [USB Debugging](https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm) on your device(s).
1515
1616#### iOS
17- - Install [ Xcode] ( https://developer.apple.com/xcode/download/ ) .
18- - Install [ Xcode Command Line Tools] ( http://railsapps.github.io/xcode-command-line-tools.html ) .
19- - Install [ ideviceinstaller] ( http://brewformulas.org/Ideviceinstaller ) .
17+ # Install [Xcode](https://developer.apple.com/xcode/download/)
18+ # Install [Xcode Command Line Tools](http://railsapps.github.io/xcode-command-line-tools.html)
19+ $ brew install ideviceinstaller
20+ $ brew install chargepoint/xcparse/xcparse
2021
2122Installation:
2223------
@@ -32,16 +33,16 @@ Usage:
3233 or
3334 $ skeleton scan -p ios -b "your_app_bundle_id"
3435 4. Open page with the generated screen objects on your favorite language
35-
36+
3637 For more info use:
3738 $ skeleton -h
3839 $ skeleton scan -h
39-
40+
4041Demo:
4142------
4243
4344![ Skeleton example] ( docs/skeleton_example.png )
44-
45+
4546Docs:
4647------
4748
Original file line number Diff line number Diff line change @@ -184,8 +184,9 @@ def check_bundle
184184
185185 def save_screenshot
186186 Log . info ( 'Saving screenshot 📷' )
187- png_path = "#{ XCRESULTS_FOLDER } /Attachments /*.png"
187+ png_path = "#{ ATTACHMENTS_FOLDER } /*.png"
188188 new_path = "#{ ATTACHMENTS_FOLDER } /ios_#{ TIMESTAMP } .png"
189+ `xcparse screenshots #{ XCRESULTS_FOLDER } #{ ATTACHMENTS_FOLDER } `
189190 screenshots = Dir [ png_path ] . collect { |png | File . expand_path ( png ) }
190191 FileUtils . cp ( screenshots [ 0 ] , new_path )
191192 FileUtils . rm_rf ( XCRESULTS_FOLDER )
Original file line number Diff line number Diff line change 11module Skeleton
2- VERSION ||= '0.1.18 ' . freeze
2+ VERSION ||= '0.1.19 ' . freeze
33 GEM_NAME ||= 'skeleton-ui' . freeze
44end
You can’t perform that action at this time.
0 commit comments