furion 1.0.7 → 1.0.8
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/furion +11 -12
- data/lib/furion.rb +11 -0
- 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: a47d8db0af699016ad2e400e7642849b9a5e9d345dbf5f00703cc14c0854a3dd
|
4
|
+
data.tar.gz: b32bb979b3e7882037a488e8396f4da75360bce6a95104e4cd20e61c90e92c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a55a0a91610c9d653dbc9b27b61b0f07846c67a9a06227d1af871415b404c8c47bdcbc20c23d433261a7dc2c699862dca4c427f434d89e43304bf1332e2c3e9
|
7
|
+
data.tar.gz: 96577043919839d3bb62f44e145b999d80ff9f5629881c5b7ee0aa9dbb0e5454da02277b0e68d3eeff0c49357c2ebd78fda1b78fcaa58f6d001b1fcd049ce477
|
data/bin/furion
CHANGED
@@ -3,26 +3,25 @@
|
|
3
3
|
require 'furion'
|
4
4
|
require 'optionparser'
|
5
5
|
options = {}
|
6
|
-
|
6
|
+
|
7
7
|
|
8
8
|
OptionParser.new do |opts|
|
9
|
-
|
10
|
-
opts.on("-f", "--filters FILTERS", Array, "File extension filters") do |filters|
|
11
|
-
options[:filters] = filters
|
12
|
-
end
|
9
|
+
|
13
10
|
opts.on("-h", "--help", "help on furion") do |dh|
|
14
11
|
puts "Options and arguments:
|
15
12
|
-v : print the version number
|
16
13
|
-h : print the help message
|
17
|
-
|
18
|
-
|
14
|
+
init : run wrapper-pick work flow in existed project
|
15
|
+
create [name]: create an empty project and init wrapper
|
19
16
|
"
|
20
17
|
end
|
21
18
|
opts.on("-v", "--version", "Prints version") do |dh|
|
22
|
-
puts "1.0.
|
23
|
-
end
|
24
|
-
opts.on("init", "run wrapper pick workflow") do |dh|
|
25
|
-
Furion.makeConfig
|
19
|
+
puts "1.0.8"
|
26
20
|
end
|
27
|
-
|
21
|
+
|
22
|
+
|
28
23
|
end.parse!
|
24
|
+
|
25
|
+
if ARGV[0] == "init"
|
26
|
+
Furion.makeConfig
|
27
|
+
end
|
data/lib/furion.rb
CHANGED
@@ -33,6 +33,17 @@ class Furion
|
|
33
33
|
projName = FileEditor.getCuriOSProjName
|
34
34
|
puts "Config finished, run "+projName+".xcworkspace to continue "
|
35
35
|
end
|
36
|
+
|
37
|
+
def self.runCMD
|
38
|
+
cmd = ARGV[0]
|
39
|
+
if cmd == "init"
|
40
|
+
makeConfig
|
41
|
+
end
|
42
|
+
|
43
|
+
if cmd == "create"
|
44
|
+
puts "to be continue"
|
45
|
+
end
|
46
|
+
end
|
36
47
|
end
|
37
48
|
|
38
49
|
|