dfb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dfb +9 -9
- data/lib/dfb.rb +2 -2
- data/lib/dfb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26c105b0d2dd5525135a4a2007b0f59c743196ba9a4246da5eed0b7d8dc30888
|
4
|
+
data.tar.gz: c713cae6a0e85c2298e00cef448fa2f848316962bcf682483def5f0ef761b96d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7548c2d4f0234ba6bcbe6ca4cca4ab48861facfac03e2d6eb0a00349b416a7d3bbaa69174537961235b1402b5e32e7c010e7871c4237d0f74a3bf238e69e19c0
|
7
|
+
data.tar.gz: 6ee63054eeaeb65c361e04675a4a017be8c60a6236a008bc75b04cc1bf10fc1ae037434dc5dbc133c5c0d4a8068f6889bf54d3310510c9d743fe415be46503f1
|
data/bin/dfb
CHANGED
@@ -14,7 +14,7 @@ class App
|
|
14
14
|
|
15
15
|
program_desc '词典flutter工程管理命令'
|
16
16
|
|
17
|
-
version
|
17
|
+
version Dfb::VERSION
|
18
18
|
|
19
19
|
subcommand_option_handling :normal
|
20
20
|
arguments :strict
|
@@ -51,7 +51,7 @@ class App
|
|
51
51
|
arg_name 'Describe arguments to complete here'
|
52
52
|
command :clone do |c|
|
53
53
|
c.action do |global_options,options,args|
|
54
|
-
|
54
|
+
Dfb.clone
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
@@ -59,7 +59,7 @@ class App
|
|
59
59
|
arg_name 'Describe arguments to add here'
|
60
60
|
command :init_flutter do |c|
|
61
61
|
c.action do |global_options,options,args|
|
62
|
-
|
62
|
+
Dfb.init_flutter
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
@@ -67,7 +67,7 @@ class App
|
|
67
67
|
arg_name 'Describe arguments to add here'
|
68
68
|
command :run_ios do |c|
|
69
69
|
c.action do |global_options,options,args|
|
70
|
-
|
70
|
+
Dfb.run_ios
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
@@ -75,7 +75,7 @@ class App
|
|
75
75
|
arg_name 'Describe arguments to add here'
|
76
76
|
command :run_android do |c|
|
77
77
|
c.action do |global_options,options,args|
|
78
|
-
|
78
|
+
Dfb.run_android
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
@@ -83,7 +83,7 @@ class App
|
|
83
83
|
arg_name 'Describe arguments to add here'
|
84
84
|
command :attach do |c|
|
85
85
|
c.action do |global_options,options,args|
|
86
|
-
|
86
|
+
Dfb.attach
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
@@ -91,7 +91,7 @@ class App
|
|
91
91
|
arg_name 'Describe arguments to add here'
|
92
92
|
command :create_package do |c|
|
93
93
|
c.action do |global_options,options,args|
|
94
|
-
|
94
|
+
Dfb.create_package(args[0])
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
@@ -99,7 +99,7 @@ class App
|
|
99
99
|
arg_name 'Describe arguments to add here'
|
100
100
|
command :pub_get do |c|
|
101
101
|
c.action do |global_options,options,args|
|
102
|
-
|
102
|
+
Dfb.pub_get
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
@@ -107,7 +107,7 @@ class App
|
|
107
107
|
arg_name 'Describe arguments to add here'
|
108
108
|
command :flutter_clean do |c|
|
109
109
|
c.action do |global_options,options,args|
|
110
|
-
|
110
|
+
Dfb.flutter_clean
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
data/lib/dfb.rb
CHANGED
@@ -2,7 +2,7 @@ require 'dfb/version.rb'
|
|
2
2
|
|
3
3
|
# Add requires for other files you add to your project here, so
|
4
4
|
# you just need to require this one file in your bin file
|
5
|
-
module
|
5
|
+
module Dfb
|
6
6
|
# Your code goes here...
|
7
7
|
def self.hello
|
8
8
|
p "hello world"
|
@@ -57,4 +57,4 @@ module dfb
|
|
57
57
|
system "cd ~/YDDictFlutter/dict-ios-flutter-bridge/Embed/flutter_module;flutter clean;"
|
58
58
|
end
|
59
59
|
|
60
|
-
end
|
60
|
+
end
|
data/lib/dfb/version.rb
CHANGED