Add post creation hooks

This commit is contained in:
dcvz 2024-05-19 14:48:53 +02:00
parent 7f63d09f96
commit 59303f77f1
2 changed files with 19 additions and 1 deletions

View file

@ -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": {},

View 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