wip
This commit is contained in:
parent
a143711cdb
commit
e738e8e46d
@ -6,10 +6,11 @@ set -o pipefail
|
|||||||
echo "node version is:"
|
echo "node version is:"
|
||||||
which node
|
which node
|
||||||
node -v
|
node -v
|
||||||
|
PUBLISH=On
|
||||||
#if [[ ${PUBLISH} == 'On' ]]; then
|
BUILD_TYPE=Release
|
||||||
#echo "PUBLISH is set to '${PUBLISH}', publishing!"
|
if [[ ${PUBLISH} == 'On' ]]; then
|
||||||
NPM_FLAGS=''
|
echo "PUBLISH is set to '${PUBLISH}', publishing!"
|
||||||
|
NPM_FLAGS=''
|
||||||
if [[ ${BUILD_TYPE} == "Debug" ]]; then
|
if [[ ${BUILD_TYPE} == "Debug" ]]; then
|
||||||
NPM_FLAGS='--debug'
|
NPM_FLAGS='--debug'
|
||||||
fi
|
fi
|
||||||
@ -32,6 +33,6 @@ node -v
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
./node_modules/.bin/node-pre-gyp package testpackage $NPM_FLAGS
|
./node_modules/.bin/node-pre-gyp package testpackage $NPM_FLAGS
|
||||||
# else
|
else
|
||||||
# echo "PUBLISH is set to '${PUBLISH}', skipping."
|
echo "PUBLISH is set to '${PUBLISH}', skipping."
|
||||||
# fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user