Enable extended globs for removing all but some filename !(filename)

See https://github.com/vector-im/hydrogen-web/pull/693#discussion_r853534719
This commit is contained in:
Eric Eastwood 2022-04-19 17:28:09 -05:00
parent 12d6447b06
commit f61bf6090e

View File

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
# Enable extended globs so we can use the `!(filename)` glob syntax
shopt -s extglob
rm -rf target/* rm -rf target/*
yarn run vite build -c vite.sdk-assets-config.js yarn run vite build -c vite.sdk-assets-config.js
yarn run vite build -c vite.sdk-lib-config.js yarn run vite build -c vite.sdk-lib-config.js