From 890abfdaff667411a4ffb7b35aa1c36554fdc7c0 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Wed, 27 Jan 2021 16:54:13 -0800 Subject: Update web installer for fastboot.js updates Some of the API and paths have changed, so this needs to be updated accordingly. The most prominent change is the removal of BlobStore and downloading support from fastboot.js, because a fastboot library should not be responsible for downloading files. --- validate_static | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'validate_static') diff --git a/validate_static b/validate_static index c7267cd7..5ee272bb 100755 --- a/validate_static +++ b/validate_static @@ -7,13 +7,13 @@ export PATH="$PWD/node_modules/.bin:$PATH" rm -rf static_tmp cp -a static static_tmp -rm -rf static_tmp/js/fastboot/{!(dist),dist/!(fastboot.min.js|libs)} +rm -rf static_tmp/js/fastboot/{!(dist),dist/!(fastboot.min.mjs|libs)} for file in static_tmp/**/*.@(json|webmanifest); do json_verify < "$file" >/dev/null done xmllint --noout static_tmp/**/*.@(html|svg|xml) -eslint static_tmp/**/!(fastboot.min|z-worker-pako|pako_inflate.min).js +eslint static_tmp/**/!(fastboot.min.m|z-worker-pako.|pako_inflate.min.)js stylelint static_tmp/**/*.css validatornu --Werror --also-check-css --also-check-svg static_tmp/**/*.@(css|html|svg) -- cgit v1.3.1