1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 17:02:40 +01:00
uBlock/tools/pull-assets.sh
Raymond Hill 17590c5a0c
Use git clone instead of submodule to pull uAssets dependencies
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.
2022-11-14 09:50:53 -05:00

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