1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-07 14:55:30 +02:00

refactor(common, compact-mode, folders, fonts, glance, images, kbs, media, mods, split-view, tabs, tests, workspaces, vendor, welcome): closes #7628 - Refactor zen components file structure for easier understanding

This commit is contained in:
Mr. M 2025-04-15 14:03:55 +02:00
parent c8d616e657
commit 1135744520
No known key found for this signature in database
GPG key ID: 6292C4C8F8652B18
95 changed files with 155 additions and 788 deletions

View file

@ -0,0 +1,17 @@
#!/bin/bash
set -e
COMPONENT_ROOT=$(pwd)/src/zen
echo "" > .formal-git/components
# iterate top directories and adding the base name to .formal-git/components
for dir in $(find $COMPONENT_ROOT -maxdepth 1 -type d | grep -v '\.git' | grep -v 'node_modules' | grep -v 'engine'); do
if [ "$dir" != "$COMPONENT_ROOT" ]; then
echo "$(basename $dir)" >> .formal-git/components
fi
done
# remove all empty lines
sed -i '/^$/d' .formal-git/components