Class: Potemkin::Configuration

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/potemkin/configuration.rb

Class Method Summary collapse

Class Method Details

.defaultObject



5
6
7
8
9
# File 'lib/potemkin/configuration.rb', line 5

def self.default
  new \
  :sdk_root => default_sdk_root,
  :build_type => default_build_type
end

.default_build_typeObject



16
17
18
# File 'lib/potemkin/configuration.rb', line 16

def self.default_build_type
  "debug"
end

.default_sdk_rootObject



12
13
14
# File 'lib/potemkin/configuration.rb', line 12

def self.default_sdk_root
  ENV["ANDROID_SDK_ROOT"] || "/usr/local/Cellar/android-sdk/r21"
end