Top Level Namespace

Defined Under Namespace

Modules: RbNaCl

Constant Summary collapse

HOST =
arg_config("--host")
OPTIONS =
[]
CWD =
File.expand_path(File.dirname(__FILE__))
LIBSODIUM_DIR =
File.expand_path(File.join(CWD, '..', '..', 'vendor', 'libsodium'))
MAKE =
ENV['MAKE'] || ENV['make'] || "make"
DIST =

install to the stage directory for rake-compiler

"#{LIBSODIUM_DIR}/dist"

Instance Method Summary collapse

Instance Method Details

#sys(cmd) ⇒ Object



3
4
5
6
7
8
9
# File 'ext/rbnacl/extconf.rb', line 3

def sys(cmd)
  puts " -- #{cmd}"
  unless ret = system(cmd)
    raise "ERROR: '#{cmd}' failed"
  end
  ret
end