Files
weave-scope/client/post-install
T
2017-01-24 11:25:03 -08:00

9 lines
213 B
Bash
Executable File

#!/bin/bash
pwd=$(pwd)
if [[ $pwd == *"node_modules"* ]]; then
echo "Installed as Node module. Building package..."
npm run build-pkg
else
echo "Installed as stand-alone UI. Skipped building package"
fi