2016-09-13 12:49:48 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
cd $(dirname $0)/../../..
|
|
|
|
ROOTDIR=$(pwd)
|
2017-03-07 14:04:30 -05:00
|
|
|
SRCDIR=${ROOTDIR}/packages/benchpress
|
2016-09-13 12:49:48 -04:00
|
|
|
DESTDIR=${ROOTDIR}/dist/packages-dist/benchpress
|
|
|
|
|
|
|
|
rm -fr ${DESTDIR}
|
|
|
|
|
|
|
|
echo "====== BUILDING... ====="
|
|
|
|
./build.sh --packages=core,benchpress --bundle=false
|
|
|
|
|
|
|
|
echo "====== PUBLISHING: ${DESTDIR} ====="
|
|
|
|
npm publish ${DESTDIR} --access public
|