clean up for deployment
This commit is contained in:
parent
21cbd70905
commit
a8f63181c9
@ -7,6 +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}
|
||||||
|
|
||||||
for file in static_tmp/**/*.@(json|webmanifest); do
|
for file in static_tmp/**/*.@(json|webmanifest); do
|
||||||
json_reformat -m < "$file" | sponge "$file"
|
json_reformat -m < "$file" | sponge "$file"
|
||||||
|
@ -7,6 +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}
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user