Skip to content

Commit d98b815

Browse files
committed
Worktree fixes
1 parent d963da0 commit d98b815

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,4 @@ RUN set -eux; \
118118
clap-validator --version
119119

120120
# Install wt (git worktree helper)
121-
COPY wt.sh /usr/local/bin/wt
122-
RUN chmod +x /usr/local/bin/wt
121+
RUN ln -s /workspaces/RetroPlug-main/.devcontainer/wt.sh /usr/local/bin/wt

.devcontainer/wt.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,11 @@ else
163163
fi
164164

165165
echo ""
166+
echo "==> Initializing git submodules..."
167+
git -C "$WT_DIR" submodule update --init --recursive
168+
169+
echo ""
170+
echo "==> Configuring CMake..."
171+
mkdir -p build
172+
cmake -S . -B build
166173
echo "Worktree ready: $WT_DIR"

0 commit comments

Comments
 (0)