From 5e83eca3b9598de03b9898380457853f25cc1ebf Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Fri, 29 Jul 2022 16:43:28 +0200 Subject: [PATCH] move semi-automatic test for runtime themes into dedicated directory --- scripts/{ => test-derived-theme}/test-theme.sh | 4 ++-- theme.json => scripts/test-derived-theme/theme.json | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename scripts/{ => test-derived-theme}/test-theme.sh (67%) rename theme.json => scripts/test-derived-theme/theme.json (100%) diff --git a/scripts/test-theme.sh b/scripts/test-derived-theme/test-theme.sh similarity index 67% rename from scripts/test-theme.sh rename to scripts/test-derived-theme/test-theme.sh index 9f94d3c3..6ac9b128 100755 --- a/scripts/test-theme.sh +++ b/scripts/test-derived-theme/test-theme.sh @@ -1,5 +1,5 @@ -#!/bin/zsh -cp theme.json target/assets/theme-customer.json +#!/bin/sh +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 rm target/config.json mv target/config.temp.json target/config.json diff --git a/theme.json b/scripts/test-derived-theme/theme.json similarity index 100% rename from theme.json rename to scripts/test-derived-theme/theme.json