2019-02-05 00:58:18 +03:00
|
|
|
#!/bin/bash
|
2019-02-13 00:36:51 +03:00
|
|
|
set -e
|
2019-02-06 00:13:56 +03:00
|
|
|
|
2019-02-05 02:37:52 +03:00
|
|
|
# generate the build directory
|
2019-04-26 23:22:14 +03:00
|
|
|
npm run --silent dist
|
2019-02-05 02:37:52 +03:00
|
|
|
|
2019-04-26 23:22:14 +03:00
|
|
|
# run the bundle size and selector diff reports
|
|
|
|
script/run-reports
|
2019-02-12 08:33:07 +03:00
|
|
|
|
2019-02-05 00:58:18 +03:00
|
|
|
files=$(git ls-files src | sed -e 's#^src/##' | sed -e 's#/.*$##' | sort -u)
|
2019-02-08 03:40:38 +03:00
|
|
|
echo $files > publish-files.log
|
2019-02-05 00:58:18 +03:00
|
|
|
cd src
|
|
|
|
cp -rv $files ..
|
|
|
|
cd -
|