sync validate_static removal with process_static
This commit is contained in:
@@ -7,7 +7,7 @@ export PATH="$PWD/node_modules/.bin:$PATH"
|
|||||||
|
|
||||||
rm -rf static_tmp
|
rm -rf static_tmp
|
||||||
cp -a static static_tmp
|
cp -a static static_tmp
|
||||||
rm -rf static_tmp/js/fastboot/{.git,demo,README.md}
|
rm -rf static_tmp/js/fastboot/{!(dist),dist/!(fastboot.min.js|libs)}
|
||||||
|
|
||||||
for file in static_tmp/**/*.@(json|webmanifest); do
|
for file in static_tmp/**/*.@(json|webmanifest); do
|
||||||
json_verify < "$file" >/dev/null
|
json_verify < "$file" >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user