Merge pull request #822 from vector-im/bwindels/move-runtime-theme-test-out-of-root

move semi-automatic test for runtime themes into dedicated directory
This commit is contained in:
Bruno Windels 2022-07-29 15:00:34 +00:00 committed by GitHub
commit eee8412621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/zsh #!/bin/sh
cp theme.json target/assets/theme-customer.json cp scripts/test-derived-theme/theme.json target/assets/theme-customer.json
cat target/config.json | jq '.themeManifests += ["assets/theme-customer.json"]' | cat > target/config.temp.json cat target/config.json | jq '.themeManifests += ["assets/theme-customer.json"]' | cat > target/config.temp.json
rm target/config.json rm target/config.json
mv target/config.temp.json target/config.json mv target/config.temp.json target/config.json