#!/bin/bash
set -e

root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
cd "${root_dir}"

debug=
if test x"$1" = x'debug'; then
  debug=--debug
fi

node-pre-gyp ${debug} rebuild --fallback-to-build


