Sha256: b84e249cbf004cfa6e13e450921573596db828340201aa09c17a820209c2c701

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 Bytes

Contents

module DeployGate
  class Build
    class << self

      # @param [String] path
      # @return [Boolean]
      def ios?(path)
        DeployGate::Builds::Ios.workspace?(path) || DeployGate::Builds::Ios.project?(path) || DeployGate::Builds::Ios.ios_root?(path)
      end

      # @param [String] path
      # @return [Boolean]
      def android?(path)
        false # TODO: support android build
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deploygate-0.0.6 lib/deploygate/build.rb
deploygate-0.0.5 lib/deploygate/build.rb
deploygate-0.0.4 lib/deploygate/build.rb
deploygate-0.0.3 lib/deploygate/build.rb
deploygate-0.0.2 lib/deploygate/build.rb