kookeeper 2.0.0 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/bin/big +1 -1
  3. data/bin/koo +1 -1
  4. metadata +10 -104
  5. data/.github/ISSUE_TEMPLATE.md +0 -20
  6. data/.gitignore +0 -50
  7. data/.travis.yml +0 -19
  8. data/CODE_OF_CONDUCT.md +0 -46
  9. data/CONTRIBUTING.md +0 -70
  10. data/Gemfile +0 -10
  11. data/Gemfile.lock +0 -125
  12. data/LICENSE +0 -21
  13. data/README.md +0 -113
  14. data/Rakefile +0 -2
  15. data/big_keeper.gemspec +0 -50
  16. data/docs/en-US/FEATURE.md +0 -0
  17. data/docs/en-US/README.md +0 -54
  18. data/docs/zh-CN/BIGKEEPER_FILE.md +0 -84
  19. data/docs/zh-CN/FEATURE&HOTFIX.md +0 -88
  20. data/docs/zh-CN/IMAGE.md +0 -0
  21. data/docs/zh-CN/PODFILE.md +0 -43
  22. data/docs/zh-CN/README.md +0 -113
  23. data/docs/zh-CN/RECOMMEND.md +0 -22
  24. data/docs/zh-CN/RELEASE.md +0 -60
  25. data/docs/zh-CN/SPEC.md +0 -39
  26. data/lib/big_keeper/command/client.rb +0 -50
  27. data/lib/big_keeper/command/feature&hotfix/delete.rb +0 -40
  28. data/lib/big_keeper/command/feature&hotfix/finish.rb +0 -54
  29. data/lib/big_keeper/command/feature&hotfix/list.rb +0 -63
  30. data/lib/big_keeper/command/feature&hotfix/publish.rb +0 -56
  31. data/lib/big_keeper/command/feature&hotfix/pull.rb +0 -26
  32. data/lib/big_keeper/command/feature&hotfix/push.rb +0 -27
  33. data/lib/big_keeper/command/feature&hotfix/rebase.rb +0 -32
  34. data/lib/big_keeper/command/feature&hotfix/start.rb +0 -74
  35. data/lib/big_keeper/command/feature&hotfix/switch.rb +0 -46
  36. data/lib/big_keeper/command/feature&hotfix/update.rb +0 -66
  37. data/lib/big_keeper/command/feature&hotfix.rb +0 -167
  38. data/lib/big_keeper/command/image/image.rb +0 -0
  39. data/lib/big_keeper/command/image.rb +0 -28
  40. data/lib/big_keeper/command/init.rb +0 -36
  41. data/lib/big_keeper/command/pod/podfile.rb +0 -72
  42. data/lib/big_keeper/command/pod.rb +0 -55
  43. data/lib/big_keeper/command/release/finish.rb +0 -36
  44. data/lib/big_keeper/command/release/home.rb +0 -92
  45. data/lib/big_keeper/command/release/module.rb +0 -65
  46. data/lib/big_keeper/command/release/publish.rb +0 -4
  47. data/lib/big_keeper/command/release/start.rb +0 -78
  48. data/lib/big_keeper/command/release.rb +0 -100
  49. data/lib/big_keeper/command/spec/add.rb +0 -9
  50. data/lib/big_keeper/command/spec/analyze.rb +0 -88
  51. data/lib/big_keeper/command/spec/delete.rb +0 -9
  52. data/lib/big_keeper/command/spec/list.rb +0 -19
  53. data/lib/big_keeper/command/spec/search.rb +0 -9
  54. data/lib/big_keeper/command/spec/sync.rb +0 -12
  55. data/lib/big_keeper/command/spec.rb +0 -78
  56. data/lib/big_keeper/dependency/dep_gradle_operator.rb +0 -74
  57. data/lib/big_keeper/dependency/dep_operator.rb +0 -48
  58. data/lib/big_keeper/dependency/dep_pod_operator.rb +0 -130
  59. data/lib/big_keeper/dependency/dep_service.rb +0 -14
  60. data/lib/big_keeper/dependency/dep_type.rb +0 -33
  61. data/lib/big_keeper/model/gitflow_type.rb +0 -43
  62. data/lib/big_keeper/model/library_model.rb +0 -116
  63. data/lib/big_keeper/model/operate_type.rb +0 -30
  64. data/lib/big_keeper/model/podfile_model.rb +0 -33
  65. data/lib/big_keeper/service/git_service.rb +0 -211
  66. data/lib/big_keeper/service/module_service.rb +0 -224
  67. data/lib/big_keeper/service/stash_service.rb +0 -45
  68. data/lib/big_keeper/util/bigkeeper_parser.rb +0 -260
  69. data/lib/big_keeper/util/cache_operator.rb +0 -118
  70. data/lib/big_keeper/util/code_operator.rb +0 -37
  71. data/lib/big_keeper/util/command_line_util.rb +0 -9
  72. data/lib/big_keeper/util/file_operator.rb +0 -33
  73. data/lib/big_keeper/util/git_operator.rb +0 -242
  74. data/lib/big_keeper/util/gitflow_operator.rb +0 -51
  75. data/lib/big_keeper/util/gradle_content_generator.rb +0 -26
  76. data/lib/big_keeper/util/gradle_file_operator.rb +0 -339
  77. data/lib/big_keeper/util/gradle_module_operator.rb +0 -70
  78. data/lib/big_keeper/util/info_plist_operator.rb +0 -46
  79. data/lib/big_keeper/util/leancloud_logger.rb +0 -84
  80. data/lib/big_keeper/util/list_generator.rb +0 -101
  81. data/lib/big_keeper/util/lockfile_parser.rb +0 -143
  82. data/lib/big_keeper/util/logger.rb +0 -47
  83. data/lib/big_keeper/util/pod_operator.rb +0 -70
  84. data/lib/big_keeper/util/podfile_detector.rb +0 -102
  85. data/lib/big_keeper/util/podfile_module.rb +0 -63
  86. data/lib/big_keeper/util/podfile_operator.rb +0 -125
  87. data/lib/big_keeper/util/verify_operator.rb +0 -17
  88. data/lib/big_keeper/util/version_config_operator.rb +0 -29
  89. data/lib/big_keeper/util/xcode_operator.rb +0 -15
  90. data/lib/big_keeper/version.rb +0 -3
  91. data/lib/big_keeper.rb +0 -81
  92. data/resources/banner.png +0 -0
  93. data/resources/command.png +0 -0
  94. data/resources/keynote/big-keeper-readme-analyze.key +0 -0
  95. data/resources/keynote/big-keeper-readme-example.key +0 -0
  96. data/resources/keynote/big-keeper-readme-feature.key +0 -0
  97. data/resources/keynote/big-keeper-readme-release.key +0 -0
  98. data/resources/readme/big-keeper-readme.001.png +0 -0
  99. data/resources/template/Bigkeeper +0 -23
@@ -1,15 +0,0 @@
1
- require 'big_keeper/util/logger'
2
-
3
- module BigKeeper
4
- class XcodeOperator
5
- def self.open_workspace(path)
6
- # Close Xcode
7
- # `pkill Xcode`
8
-
9
- # sleep 0.5
10
-
11
- # Open home workspace
12
- # `open #{path}/*.xcworkspace`
13
- end
14
- end
15
- end
@@ -1,3 +0,0 @@
1
- module BigKeeper
2
- VERSION = "2.0.0"
3
- end
data/lib/big_keeper.rb DELETED
@@ -1,81 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'big_keeper/version'
4
-
5
- require 'big_keeper/util/bigkeeper_parser'
6
- require 'big_keeper/util/git_operator'
7
- require 'big_keeper/util/verify_operator'
8
-
9
- require 'big_keeper/model/gitflow_type'
10
-
11
- require 'big_keeper/command/feature&hotfix'
12
- require 'big_keeper/command/release'
13
- require 'big_keeper/command/pod'
14
- require 'big_keeper/command/spec'
15
- require 'big_keeper/command/image'
16
- require 'big_keeper/command/init'
17
- require 'big_keeper/command/client'
18
- require 'big_keeper/service/git_service'
19
- require 'big_keeper/util/leancloud_logger'
20
-
21
- require 'gli'
22
-
23
- include GLI::App
24
-
25
- module BigKeeper
26
- # Your code goes here...
27
- program_desc 'Efficiency improvement for iOS&Android module development, iOSer&Android using this tool can make module development easier.'
28
-
29
- flag %i[p path], default_value: './'
30
- flag %i[v ver], default_value: 'Version in Bigkeeper file'
31
- flag %i[u user], default_value: GitOperator.new.user
32
- flag %i[l log], default_value: true
33
-
34
- if VerifyOperator.already_in_process?
35
- p %Q(There is another 'big' command in process, please wait)
36
- exit
37
- end
38
-
39
- if !GitflowOperator.new.verify_git_flow_command
40
- p %Q('git-flow' not found, use 'brew install git-flow' to install it)
41
- exit
42
- end
43
-
44
- # pre do |global_options, command, options, args|
45
- # LeanCloudLogger.instance.start_log(global_options, args)
46
- # end
47
- #
48
- # post do |global_options, command, options, args|
49
- # is_show_log = true
50
- # if global_options[:log] == 'true'
51
- # is_show_log = false
52
- # end
53
- # LeanCloudLogger.instance.end_log(true, is_show_log)
54
- # end
55
-
56
- feature_and_hotfix_command(GitflowType::FEATURE)
57
-
58
- feature_and_hotfix_command(GitflowType::HOTFIX)
59
-
60
- release_command
61
-
62
- pod_command
63
-
64
- spec_command
65
-
66
- image_command
67
-
68
- init_command
69
-
70
- client_command
71
-
72
- desc 'Show version of bigkeeper'
73
- command :version do |version|
74
- version.action do |global_options, options, args|
75
- LeanCloudLogger.instance.set_command("version")
76
- p "bigkeeper (#{VERSION})"
77
- end
78
- end
79
-
80
- exit run(ARGV)
81
- end
data/resources/banner.png DELETED
Binary file
Binary file
@@ -1,23 +0,0 @@
1
- # TEMPLATE FOR BIGKEEPER
2
- # PLEASE CHANGE THE CONTENT FOR YOUR PROJECT
3
- # REMEMBER DELETE THESE TIPS
4
-
5
- # version '0.0.1'
6
-
7
- # home 'BigkeeperMain', :git => 'git@github.com:BigKeeper/BigKeeperMain.git', :pulls => 'https://github.com/BigKeeper/BigKeeperMain/pulls'
8
-
9
- # source 'git@github.com:CocoaPods/Specs.git, CocoaPods' do
10
- # modules do
11
- # mod 'BigKeeperUserCenterModule', :git => 'git@github.com:BigKeeper/BigKeeperUserCenterModule.git', :pulls => 'https://github.com/BigKeeper/BigKeeperUserCenterModule/pulls'
12
- # mod 'BigKeeperOrderModule', :git => 'git@github.com:BigKeeper/BigKeeperOrderModule.git', :pulls => 'https://github.com/BigKeeper/BigKeeperOrderModule/pulls'
13
- # end
14
- # end
15
-
16
-
17
- # user 'perry' do
18
- # mod 'BigKeeperModular', :path => '../BigKeeperModular'
19
- # end
20
-
21
- # user 'tom' do
22
- # mod 'BigKeeperModular', :path => '../BigKeeperModular'
23
- # end