[nscl] Switch to NSCL's generic inclusion shell script.
This commit is contained in:
parent
9e871c064d
commit
5f59f65494
13
build.sh
13
build.sh
|
@ -74,16 +74,9 @@ fi
|
|||
|
||||
rm -rf "$BUILD" "$XPI"
|
||||
cp -pR "$SRC" "$BUILD"
|
||||
# prune unused nscl stuff
|
||||
rm -rf "$BUILD/nscl"
|
||||
pushd "$SRC"
|
||||
for f in $(grep 'nscl/[^"]*\.js' "manifest.json" */*.js | sed -re"s/^nscl.*//" -e "s/.*(nscl[^'\"]*\.js).*/\\1/" -e "/^ *$/d" | sort | uniq); do
|
||||
nscl_curdir="$BUILD/$(dirname $f)"
|
||||
mkdir -p "$nscl_curdir"
|
||||
cp -p "$f" "$nscl_curdir"
|
||||
echo "Including $f."
|
||||
done
|
||||
popd
|
||||
|
||||
# include nscl dependencies
|
||||
"$NSCL/include.sh" "$BUILD"
|
||||
|
||||
if node "$NSCL/TLD/update.js" "$BUILD/nscl/common/tld.js"; then
|
||||
echo 'Updated TLDs.'
|
||||
|
|
2
src/nscl
2
src/nscl
|
@ -1 +1 @@
|
|||
Subproject commit 48d590749688928dda8e27e7e1e4e388057f4836
|
||||
Subproject commit f3ccee5c6c8e491104c7ff145d8480aa527ef960
|
Loading…
Reference in New Issue