1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 08:52:45 +01:00
uBlock/tools/copy-common-files.sh

26 lines
685 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#
# This script assumes a linux environment
2021-07-31 23:34:25 +02:00
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/