Allow build-client to run anywhere

This commit is contained in:
Charlotte Weaver
2018-08-08 15:17:23 -07:00
parent 3f0bb2ce1d
commit d093dc2e3b
+4
View File
@@ -1,4 +1,8 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
CELLXGENE_DIR=$(dirname $DIR)
cd $CELLXGENE_DIR
npm install --prefix client/ client
npm run --prefix client build