diff --git a/scripts/build.sh b/scripts/build.sh index 7ceb383d..4e77cec3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -39,6 +39,6 @@ find ./build -type f -name "logo.png" | while read logo; do done # Create domains.json -core_integrations=$(find ./core_integrations -maxdepth 1 -type d -exec basename {} \; | sort | jq -sR 'split("\n")[1:]' | jq -r 'map(select(length > 0))') -custom_integrations=$(find ./custom_integrations -maxdepth 1 -type d -exec basename {} \; | sort | jq -sR 'split("\n")[1:]' | jq -r 'map(select(length > 0))') +core_integrations=$(find ./core_integrations -maxdepth 1 -exec basename {} \; | sort | jq -sR 'split("\n")[1:]' | jq -r 'map(select(length > 0))') +custom_integrations=$(find ./custom_integrations -maxdepth 1 -exec basename {} \; | sort | jq -sR 'split("\n")[1:]' | jq -r 'map(select(length > 0))') jq -n '{"core": $core, "custom": $custom}' --argjson core "$core_integrations" --argjson custom "$custom_integrations" | jq -r . > ./build/domains.json \ No newline at end of file