Sha256: b082249eae278c3c32f04ce8e042d74fed715da33269a8a381e1d1a83a370a0d

Contents?: true

Size: 992 Bytes

Versions: 7

Compression:

Stored size: 992 Bytes

Contents

require 'fileutils'
require 'dingbot'
require 'cfpropertylist'
require 'semantic_logger'

# 注意:这里使用 require_relative 来引用文件
require_relative 'ocean_package/version'
require_relative 'ocean_package/config'
require_relative 'ocean_package/command'
require_relative 'ocean_package/constants'
require_relative 'ocean_package/fir'
require_relative 'ocean_package/oss'
require_relative 'ocean_package/dingtalk'
require_relative 'ocean_package/ipa'
require_relative 'ocean_package/logger'
require_relative 'ocean_package/package'

module OceanPackage
  require 'claide'

  def self.run(argvs)
    puts "====="
    puts ARGV
    puts "====="

    command = OceanPackage::Command.new(argvs)
    command.run


    # # command = OceanPackage::Command.new(config)
    #
    # argv = CLAide::ARGV.new(ARGV)
    # if !argv.arguments.include?("oceanpackage")
    #   puts "不包含命令 oceanpackage"
    #   exit 1
    # end
    #
    # puts "包含命令 oceanpackage"
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ocean_package-0.7.0 lib/ocean_package.rb
ocean_package-0.6.0 lib/ocean_package.rb
ocean_package-0.5.0 lib/ocean_package.rb
ocean_package-0.4.0 lib/ocean_package.rb
ocean_package-0.3.0 lib/ocean_package.rb
ocean_package-0.2.0 lib/ocean_package.rb
ocean_package-0.1.0 lib/ocean_package.rb