apu 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/lib/apu.rb +5 -1
- data/lib/apu/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: dfeb0f07e238006370713ab074982d933ba5ca65
|
4
|
+
data.tar.gz: 2c9fa1001be05b543cdbf0478638e7b033f9407f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ba967870edf2a2e52d58423f07177ee550908fd8723d53f7cf43ff631d82576a59fe22af09e1ab83c41e25196423e1cc4791fd25f4813a27d9d9ef9ba0e55c5
|
7
|
+
data.tar.gz: 8e40ce9787c3f1f6372e78b88f17278886667e17ac1c39b3556d858558d9650b440b5bf6fc67b99fa045fbfa95809af0a60f652b0b084ecbcf748100cbc6b052
|
data/README.md
CHANGED
@@ -11,11 +11,15 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
## Quick sample
|
14
|
-
|
14
|
+
Let's: `cd ~/hello-world`
|
15
15
|
```shell
|
16
|
-
apu --
|
17
|
-
apu --
|
18
|
-
apu --
|
16
|
+
$ apu --install # build and install on your device
|
17
|
+
$ apu --open # runs on your device
|
18
|
+
$ apu --uninstall # uninstall the app
|
19
|
+
|
20
|
+
|
21
|
+
# They can all be combined:
|
22
|
+
$ apu -p ~/hello-world -i -o # builds, installs and opens on your device
|
19
23
|
```
|
20
24
|
|
21
25
|
## Usage
|
@@ -31,7 +35,8 @@ Options
|
|
31
35
|
-a, --android-home Checks if the ANDROID_HOME variable is defined
|
32
36
|
-l, --launcher Get the launcher activity path
|
33
37
|
-p, --path PATH Custom path to android project
|
34
|
-
-
|
38
|
+
-o, --open Open the build on the device
|
39
|
+
-r, --release Create release version and opens the folder
|
35
40
|
-c, --clear Clear app data
|
36
41
|
-h, --help Displays help
|
37
42
|
-v, --version Displays version
|
data/lib/apu.rb
CHANGED
@@ -110,7 +110,7 @@ module Apu
|
|
110
110
|
@launcher_flag = true
|
111
111
|
end
|
112
112
|
|
113
|
-
opts.on('-
|
113
|
+
opts.on('-o', '--open', 'Open the build on the device') do |flavour|
|
114
114
|
@run_flag = true
|
115
115
|
end
|
116
116
|
|
@@ -118,6 +118,10 @@ module Apu
|
|
118
118
|
@clear_flag = true
|
119
119
|
end
|
120
120
|
|
121
|
+
opts.on('-r', '--release', 'Create release version and opens the folder') do |flavour|
|
122
|
+
@clear_flag = true
|
123
|
+
end
|
124
|
+
|
121
125
|
opts.on('-h', '--help', 'Displays help') do
|
122
126
|
@require_analyses = false
|
123
127
|
puts opts.help
|
data/lib/apu/version.rb
CHANGED