#!/bin/bash

git clone git@github.com:measurement-factory/functional-text.git
cd functional-text
npm install
webpack
cd ..
npm install
webpack -p
cp src/index.html deploy-result/index.html
rm -fr functional-text
#deploy to gh-pages
#!/bin/bash

git checkout gh-pages

git clone git@github.com:measurement-factory/functional-text-sandbox.git
cd functional-text-sandbox

git clone git@github.com:measurement-factory/functional-text.git
cd functional-text
npm install
webpack
cd ..

npm install
webpack -p
cp src/index.html deploy-result/index.html
rm -fr functional-text
cd ..

cp functional-text-sandbox/deploy-result/* ./
rm -rf functional-text-sandbox
Modify to checkout gh-pages and do all work there.
Modify to checkout gh-pages and do all work there.
