blob: 8d7ff9b84e251ea9271c3f9c382a1ad3b959db0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
#
# This script assumes a linux environment
# https://stackoverflow.com/a/52526704
echo "*** Importing required uBO files"
mkdir -p build/validate
git clone --filter=blob:none --no-checkout https://github.com/gorhill/uBlock.git build/validate/uBlock
cd build/validate/uBlock
git sparse-checkout init --cone
git sparse-checkout set src/js src/lib
cd -
|