Top Level Namespace

Defined Under Namespace

Modules: RbNaCl

Constant Summary collapse

LIBSODIUM_VERSION =
"0.4.5"
LIBSODIUM_DIGEST =
"7ad5202df53eeac0eb29b064ae5d05b65d82b2fc1c082899c9c6a09b0ee1ac32"

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