Module: Baltix::Loader::Cmake

Included in:
Source::Gem
Defined in:
lib/baltix/loader/cmake.rb

Overview

Cmake based compilable gemspec detection, no gemspec is actually returned Sample gem is: hiredis

Instance Method Summary collapse

Instance Method Details

#cmake(file) ⇒ Object



5
6
7
8
9
10
# File 'lib/baltix/loader/cmake.rb', line 5

def cmake file
    = `cmake .`
   debug()
rescue Errno::ENOENT
   error "Error: cmake is required to properly detect the gem"
end