makefile: reinstate copying in remaining file assets

This commit is contained in:
mappu 2017-11-12 10:38:47 +13:00
parent 83ecd84d78
commit 0679ad31a7
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ clean-deps:
rm -fr ./node_modules
bindata.go: client client/*
mkdir -p clientpack
cp client/favicon.ico client/apple-touch-icon.png clientpack/
npm run webpack
cat client/index.htm \
| sed -e '/bundle.js/{i <script>' -e 'r clientpack/bundle.min.js' -e 'a </script>' -e 'd}' \