mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01:00
17590c5a0c
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2358 We need two different branches of uAssets to properly add the default filter lists into the packages. I couldn't figure out how to do this with submodules, using simple `git clone` as a dependency just work.
12 lines
316 B
Bash
Executable File
12 lines
316 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# This script assumes a linux environment
|
|
|
|
set -e
|
|
|
|
DES=dist/build/uAssets
|
|
|
|
echo "*** Pull assets from remote into $DES"
|
|
git clone --depth 1 --branch master https://github.com/uBlockOrigin/uAssets $DES/main
|
|
git clone --depth 1 --branch gh-pages https://github.com/uBlockOrigin/uAssets $DES/prod
|