fix: .gitignore module symlinks + build.sh rm-ln pattern
This commit is contained in:
parent
e3d9f87694
commit
414e596254
5
.gitignore
vendored
5
.gitignore
vendored
@ -9,6 +9,11 @@ __pycache__/
|
|||||||
|
|
||||||
# Build artifacts
|
# Build artifacts
|
||||||
wwwroot/bricks/
|
wwwroot/bricks/
|
||||||
|
wwwroot/rbac/
|
||||||
|
wwwroot/knowledge_bases_list/
|
||||||
|
wwwroot/engine_configs_list/
|
||||||
|
wwwroot/subscriptions_list/
|
||||||
|
wwwroot/documents_list/
|
||||||
mysql.ddl.sql
|
mysql.ddl.sql
|
||||||
models/mysql.ddl.sql
|
models/mysql.ddl.sql
|
||||||
|
|
||||||
|
|||||||
5
build.sh
5
build.sh
@ -45,10 +45,11 @@ cd $cdir
|
|||||||
# Symlink bricks + module wwwroots
|
# Symlink bricks + module wwwroots
|
||||||
ln -sf ../pkgs/bricks/dist wwwroot/bricks 2>/dev/null || true
|
ln -sf ../pkgs/bricks/dist wwwroot/bricks 2>/dev/null || true
|
||||||
ln -sf ../pkgs/rbac/wwwroot wwwroot/rbac 2>/dev/null || true
|
ln -sf ../pkgs/rbac/wwwroot wwwroot/rbac 2>/dev/null || true
|
||||||
# Symlink rag module pages into wwwroot
|
# Symlink rag module pages into wwwroot (git ignores these)
|
||||||
for d in pkgs/rag/wwwroot/*/; do
|
for d in pkgs/rag/wwwroot/*/; do
|
||||||
name=$(basename "$d")
|
name=$(basename "$d")
|
||||||
ln -sf ../../pkgs/rag/wwwroot/$name wwwroot/$name 2>/dev/null || true
|
rm -rf wwwroot/$name 2>/dev/null
|
||||||
|
ln -sf ../../pkgs/rag/wwwroot/$name wwwroot/$name
|
||||||
done
|
done
|
||||||
|
|
||||||
# Generate DDL from rag module models
|
# Generate DDL from rag module models
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user