15 lines
184 B
Bash
Executable File
15 lines
184 B
Bash
Executable File
#!/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-gyp ${debug} rebuild
|
|
|
|
|