Class: GoNative::Plugins::IOS::Verify

Inherits:
Object
  • Object
show all
Extended by:
DSL::Serviceable
Defined in:
lib/gonative/plugins/ios/verify.rb

Instance Method Summary collapse

Instance Method Details

#assert_staging_clear!Object

Raises:



13
14
15
16
17
# File 'lib/gonative/plugins/ios/verify.rb', line 13

def assert_staging_clear!
  return if `git status --porcelain`.empty?

  raise Error, "There are uncommitted changes in the repository"
end

#callObject



9
10
11
# File 'lib/gonative/plugins/ios/verify.rb', line 9

def call
  assert_staging_clear!
end