uBlock/tools/copy-common-files.sh

26 lines
685 B
Bash
Raw Permalink Normal View History

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