https://github.com/AllenInstitute/ecephys_spike_sorting
Tip revision: 995842e4ec67e9db1b7869d885b97317012337db authored by Josh Siegle on 19 May 2021, 23:30:17 UTC
Add comma
Add comma
Tip revision: 995842e
buildPortalAssets.sh
#!/bin/sh
echo "\n\n[rebuildPortalAssets.sh] Downloading latest npm package from internal npm registry..\n\n"
rm -rf ./node_modules
rm -f ./static/external_assets/bundled.js
npm install aibs-portal-assets --save --registry http://dev_resource:4873
rm -f ./node_modules/aibs-portal-assets/dist/index.html
cp ./node_modules/aibs-portal-assets/dist/bundled.js ./static/external_assets/bundled.js
echo "[rebuildPortalAssets.sh] Copied the new bundle to /static/external_assets..\n"