diff options
| author | Danny Lin <danny@kdrag0n.dev> | 2021-01-27 16:54:13 -0800 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-01-27 20:24:49 -0500 |
| commit | 890abfdaff667411a4ffb7b35aa1c36554fdc7c0 (patch) | |
| tree | 3a38d223126992fcba4b49fe807b41d3d9e8ae56 /validate_static | |
| parent | 3c2c76dfdfb451ddb95f98e816a141159298df16 (diff) | |
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.
Diffstat (limited to 'validate_static')
| -rwxr-xr-x | validate_static | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
