mirror of
https://github.com/sudoxnym/brands.git
synced 2026-05-21 04:58:50 +00:00
Don't limit to directory to allow symlink (#2573)
This commit is contained in:
parent
ecf5a75896
commit
5a15076620
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Reference in a new issue