#!/bin/bash
echo "************************************************"
echo "Building Tiber Health Model"
echo "************************************************"

RDIR = $1
if [-z "$RDIR" ]
    then
    RDIR = $PWD
fi

cd $RDIR/tiberHealthModel

npm install
npm upgrade --save
tsc
npm version patch
npm publish
