dfb 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/dfb +12 -12
- 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: 47def1f61bf0ea2166e6fa815313f566b11d546a311726b03705497453f89337
|
4
|
+
data.tar.gz: c8e677dad65c005f682f8e40194c86a3dc763dc94741e400ecf7b333338d535e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75f7bdd4d19ce04ae7836cc3f9da1af070faa7b4e380a2378a5ae2b22f8ded5156749425ed45c227e51106588eade3a57a93c62ce427771b604d78dacf740afb
|
7
|
+
data.tar.gz: 6ee6725889b631efb70709af8c7b5d627e0ea0f52659d8d6668d52cbd78ee8ba96262db391131086a5fb30a92d2600e03a38d1bf892bfc019dfaa0282464a414
|
data/bin/dfb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'gli'
|
3
3
|
# begin # XXX: Remove this begin/rescue before distributing your app
|
4
|
-
require '
|
4
|
+
require 'dfb'
|
5
5
|
# rescue LoadError
|
6
|
-
# STDERR.puts "In development, you need to use `bundle exec bin/
|
6
|
+
# STDERR.puts "In development, you need to use `bundle exec bin/dfb` to run your app"
|
7
7
|
# STDERR.puts "At install-time, RubyGems will make sure lib, etc. are in the load path"
|
8
|
-
# STDERR.puts "Feel free to remove this message from bin/
|
8
|
+
# STDERR.puts "Feel free to remove this message from bin/dfb now"
|
9
9
|
# exit 64
|
10
10
|
# end
|
11
11
|
|
@@ -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
@@ -1,8 +1,8 @@
|
|
1
|
-
require '
|
1
|
+
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"
|
data/lib/dfb/version.rb
CHANGED