summaryrefslogtreecommitdiffstats
path: root/tools/copy-common-files.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:47:55 +0000
commit31d6ff6f931696850c348007241195ab3b2eddc7 (patch)
tree615cb1c57ce9f6611bad93326b9105098f379609 /tools/copy-common-files.sh
parentInitial commit. (diff)
downloadublock-origin-31d6ff6f931696850c348007241195ab3b2eddc7.tar.xz
ublock-origin-31d6ff6f931696850c348007241195ab3b2eddc7.zip
Adding upstream version 1.55.0+dfsg.upstream/1.55.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/copy-common-files.sh')
-rw-r--r--tools/copy-common-files.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/copy-common-files.sh b/tools/copy-common-files.sh
new file mode 100644
index 0000000..56fb20a
--- /dev/null
+++ b/tools/copy-common-files.sh
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+#
+# This script assumes a linux environment
+
+set -e
+
+DES=$1
+
+bash ./tools/make-assets.sh $DES
+
+cp -R src/css $DES/
+cp -R src/img $DES/
+mkdir $DES/js
+cp -R src/js/*.js $DES/js/
+cp -R src/js/codemirror $DES/js/
+cp -R src/js/scriptlets $DES/js/
+cp -R src/js/wasm $DES/js/
+cp -R src/lib $DES/
+cp -R src/web_accessible_resources $DES/
+cp -R src/_locales $DES/
+
+cp src/*.html $DES/
+cp platform/common/*.js $DES/js/
+cp platform/common/*.json $DES/
+cp LICENSE.txt $DES/