fastlane-plugin-appbox 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -19
- data/lib/fastlane/plugin/appbox/actions/appbox_action.rb +17 -5
- data/lib/fastlane/plugin/appbox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e0bdb20c1d90b96f2dbc73ef7830ecd239f674
|
4
|
+
data.tar.gz: 9a547ca533a33783531f1c62db25005e638d7d9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c713f57a83f5bfc46499708a7338f010fe02a2fb2ba7a538188adf46464b9384b28822e60f152440f417dff75b9989548b002d2f67e1a57576d3947f917aae8
|
7
|
+
data.tar.gz: 07cdb4930e1155f3ffe3ff547b082d8905ee2e832c07b89c0c5b411ab46db6bc2206a5ccfd42cbf4ec244ce67b0fa92518ee7d32e2540f7c05a8a099930041dd
|
data/README.md
CHANGED
@@ -1,38 +1,22 @@
|
|
1
|
-
#
|
1
|
+
# AppBox Plugin for Fastlane
|
2
2
|
|
3
3
|
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-appbox)
|
4
4
|
|
5
5
|
## Getting Started
|
6
6
|
|
7
|
-
This project is a [
|
7
|
+
This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-appbox`, add it to your project by running:
|
8
8
|
|
9
9
|
```bash
|
10
10
|
fastlane add_plugin appbox
|
11
11
|
```
|
12
12
|
|
13
13
|
## About appbox
|
14
|
-
|
15
|
-
Deploy Development, Ad-Hoc and In-house (Enterprise) iOS applications directly to the devices from your Dropbox account.
|
14
|
+
[AppBox](https://getappbox.com) is a tool for iOS developers to build and deploy Development, Ad-Hoc and In-house (Enterprise) applications directly to the devices from your Dropbox account. Also, available on [Github](https://github.com/vineetchoudhary/AppBox-iOSAppsWirelessInstallation).
|
16
15
|
|
17
16
|
## Example
|
18
17
|
|
19
18
|
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
20
19
|
|
21
|
-
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
22
|
-
|
23
|
-
## Run tests for this plugin
|
24
|
-
|
25
|
-
To run both the tests, and code style validation, run
|
26
|
-
|
27
|
-
```
|
28
|
-
rake
|
29
|
-
```
|
30
|
-
|
31
|
-
To automatically fix many of the styling issues, use
|
32
|
-
```
|
33
|
-
rubocop -a
|
34
|
-
```
|
35
|
-
|
36
20
|
## Issues and Feedback
|
37
21
|
For any other issues and feedback about this plugin, please submit it to this repository.
|
38
22
|
|
@@ -25,12 +25,24 @@ module Fastlane
|
|
25
25
|
else
|
26
26
|
appbox_path = "/Applications/AppBox.app/Contents/MacOS/AppBox"
|
27
27
|
end
|
28
|
-
UI.message("AppBox Path - #{appbox_path}")
|
29
28
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
if File.file?(appbox_path)
|
30
|
+
UI.message("AppBox Path - #{appbox_path}")
|
31
|
+
|
32
|
+
# Start AppBox
|
33
|
+
UI.message("Starting AppBox...")
|
34
|
+
exit_status = system("exec #{appbox_path} ipa='#{ipa_path}' email='#{emails}' message='#{message}'")
|
35
|
+
|
36
|
+
if exit_status
|
37
|
+
UI.success('AppBox finished successfully �')
|
38
|
+
else
|
39
|
+
UI.error('AppBox finished with errors �')
|
40
|
+
UI.message('Please feel free to open an issue on the project GitHub page. Please include a description of what is not working right with your issue. https://github.com/getappbox/fastlane-plugin-appbox/issues/new')
|
41
|
+
exit
|
42
|
+
end
|
43
|
+
else
|
44
|
+
UI.error("AppBox not found at path #{appbox_path}. Please install appbox first.")
|
45
|
+
end
|
34
46
|
|
35
47
|
end
|
36
48
|
|