Top Level Namespace

Defined Under Namespace

Modules: RbNaCl

Constant Summary collapse

LIBSODIUM_VERSION =
"0.5.0"
LIBSODIUM_DIGEST =
"3ca0a0619199a2adb3449eb7f1bf6e1f4fb2ef8514da9133f7f043b8b5cdf9f0"

Instance Method Summary collapse

Instance Method Details

#sh_hidden(command) ⇒ Object



9
10
11
12
13
14
15
16
17
18
# File 'lib/rbnacl/rake_tasks.rb', line 9

def sh_hidden(command)
  STDERR.puts("*** Executing: #{command}")
  output = `#{command}`

  if !$?.success?
    STDERR.puts "!!! Error executing: #{command}"
    STDERR.puts output
    exit 1
  end
end