Add shell script to copy common files

This shell script will copy files commoon to
all platform into the package.
This commit is contained in:
Raymond Hill 2019-07-03 09:52:03 -04:00
parent 152cea2dfe
commit caa8e7d35b
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -0,0 +1,20 @@
#!/usr/bin/env bash
#
# This script assumes a linux environment
DES=$1
bash ./tools/make-assets.sh $DES
cp -R src/css $DES/
cp -R src/img $DES/
cp -R src/js $DES/
cp -R src/lib $DES/
cp -R src/web_accessible_resources $DES/
cp -R src/_locales $DES/
cp src/*.html $DES/
cp platform/chromium/*.js $DES/js/
cp platform/chromium/*.html $DES/
cp platform/chromium/*.json $DES/
cp LICENSE.txt $DES/