From caa8e7d35ba61214a9d13e7d324b2bd2aa73237f Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 3 Jul 2019 09:52:03 -0400 Subject: [PATCH] Add shell script to copy common files This shell script will copy files commoon to all platform into the package. --- tools/copy-common-files.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tools/copy-common-files.sh diff --git a/tools/copy-common-files.sh b/tools/copy-common-files.sh new file mode 100644 index 000000000..cb7d8bcf8 --- /dev/null +++ b/tools/copy-common-files.sh @@ -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/