1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 02:12:44 +01:00
uBlock/tools/copy-common-files.sh
2021-07-31 17:34:25 -04:00

26 lines
685 B
Bash

#!/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/