mirror of https://github.com/gorhill/uBlock.git
27 lines
729 B
Bash
27 lines
729 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/resources $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/
|