2015-07-08 11:24:26 -07:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
|
|
|
|
cd "${root_dir}"
|
|
|
|
|
|
|
|
debug=
|
|
|
|
if test x"$1" = x'debug'; then
|
2015-07-10 07:34:15 -07:00
|
|
|
debug=--debug
|
2015-07-08 11:24:26 -07:00
|
|
|
fi
|
|
|
|
|
2015-08-04 15:13:21 -07:00
|
|
|
node-pre-gyp ${debug} rebuild --fallback-to-build
|
2015-07-08 11:24:26 -07:00
|
|
|
|
|
|
|
|