Skip to content

Commit 574b1cc

Browse files
committed
refactor: 重命名子模块 source->React-source, engine-source->V8engine-source
1 parent f01afcf commit 574b1cc

6 files changed

Lines changed: 8 additions & 10 deletions

File tree

.gitmodules

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[submodule "React/source"]
2-
path = React/source
3-
url = https://github.com/ceilf6/react
4-
[submodule "JS/engine-source"]
5-
path = JS/engine-source
1+
[submodule "React/React-source"]
2+
path = React/React-source
3+
url = https://github.com/ceilf6/react
4+
[submodule "JS/V8engine-source"]
5+
path = JS/V8engine-source
66
url = https://github.com/ceilf6/v8

JS/preJS/1

Lines changed: 0 additions & 1 deletion
This file was deleted.

React/source

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/setup-hooks.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ chmod +x "$REPO_ROOT/.githooks/git-wrapper.sh"
4444
echo ">>> git 包装脚本已就绪,VS Code 将通过 .vscode/settings.json git.path 自动使用它"
4545

4646
# v8 仓库极大,fetch 时不拉取 tags,避免 pullBeforePush 时等待过久
47-
if [ -d "$REPO_ROOT/JS/engine-source" ]; then
48-
cd "$REPO_ROOT/JS/engine-source"
47+
if [ -d "$REPO_ROOT/JS/V8engine-source" ]; then
48+
cd "$REPO_ROOT/JS/V8engine-source"
4949
git config remote.origin.tagOpt --no-tags
50-
echo ">>> 已配置 JS/engine-source fetch 不拉取 tags"
50+
echo ">>> 已配置 JS/V8engine-source fetch 不拉取 tags"
5151
fi
5252

5353
echo ">>> 完成!重新加载 VS Code 窗口(Cmd+Shift+P → Reload Window)即可生效。"

0 commit comments

Comments
 (0)