Class: Gct::Command::Op::Lint
Instance Method Summary
collapse
#auto_add_tag, #check_branch_can_be_update, #config_gitlab, #current_branch, #file_contents, #get_project, #gitlab_error, options, run
Constructor Details
#initialize(argv) ⇒ Lint
Returns a new instance of Lint.
14
15
16
|
# File 'lib/gct/command/op/lint.rb', line 14
def initialize(argv)
super
end
|
Instance Method Details
#openLintCache ⇒ Object
26
27
28
29
30
|
# File 'lib/gct/command/op/lint.rb', line 26
def openLintCache
lintCache = '~/Library/Caches/CocoaPods/Pods/External/'
puts "Xcode缓存路径为:#{lintCache}".green
system "open #{lintCache}"
end
|
#run ⇒ Object
22
23
24
|
# File 'lib/gct/command/op/lint.rb', line 22
def run
openLintCache
end
|
#validate! ⇒ Object
18
19
20
|
# File 'lib/gct/command/op/lint.rb', line 18
def validate!
super
end
|