mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2025-02-27 22:30:01 +00:00
Add post creation hooks
This commit is contained in:
parent
7f63d09f96
commit
59303f77f1
2 changed files with 19 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
"postCreateCommand": "git submodule update --init --recursive"
|
||||
"postCreateCommand": "./devcontainer/post-create.sh",
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
|
18
.devcontainer/post-create.sh
Normal file
18
.devcontainer/post-create.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
# Clone ZRE repo
|
||||
git clone $ZRE_REPO_WITH_PATH
|
||||
./zre/process.sh
|
||||
|
||||
# Run N64Recomp
|
||||
N64Recomp us.rev1.toml
|
||||
RSPRecomp aspMain.us.rev1.toml
|
||||
RSPRecomp njpgdspMain.us.rev1.toml
|
||||
|
||||
# Cleanup
|
||||
rm -rf zre
|
||||
|
||||
# Initialize submodules
|
||||
git submodule update --init --recursive
|
Loading…
Add table
Reference in a new issue