Update scripts and template for VS Code
This commit is contained in:
parent
8b0e2226e4
commit
57623d0e1d
|
@ -20,7 +20,7 @@
|
|||
{
|
||||
"label": "read memory map",
|
||||
"type": "shell",
|
||||
"command": "${env:JABY_ENGINE_PATH}/bin/psxreadmap ${input:output memory map} application/bin/PAL/PSX-${input:build profile}/PoolBox.elf",
|
||||
"command": "${env:JABY_ENGINE_PATH}/bin/psxreadmap ${input:output memory map} application/bin/${input:tv format}/PSX-${input:build profile}/PoolBox.elf",
|
||||
"problemMatcher": [],
|
||||
}
|
||||
],
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Made possible by Cody the white tiger
|
||||
|
||||
echo "<<< Install pop-fe >>>"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
echo "<<< Install Rust prerequisites >>>"
|
||||
apt install -y curl
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
echo "<<< Install GCC prerequisites >>>"
|
||||
apt install -y make texinfo g++ gcc git libgmp3-dev libmpfr-dev libmpc-dev flex install-info info bison
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Made possible by Cody the white tiger
|
||||
|
||||
cd /usr/jaby_engine/bin/extern/pop-fe
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
- [JabyEngine](#jabyengine-1)
|
||||
- [PoolBox](#poolbox)
|
||||
- [Special thanks](#special-thanks)
|
||||
- [TODO before commit](#todo-before-commit)
|
||||
|
||||
# JabyEngine
|
||||
## About
|
||||
|
@ -89,7 +88,3 @@ These projects shall eventually turn into useful extensions for the engine. So f
|
|||
* Nicolas Noble
|
||||
* Pyravia
|
||||
* Sickle
|
||||
|
||||
# TODO before commit
|
||||
* Remove `wslpath`
|
||||
* Verify template creation
|
|
@ -11,32 +11,17 @@
|
|||
{
|
||||
"label": "build",
|
||||
"type": "shell",
|
||||
"windows": { // v re-export for WSL v re-export for WSL
|
||||
"command": "wsl make ${input:project}_${input:target} BUILD_PROFILE=${input:build profile} REGION=${input:region} CUSTOM_CONFIG=${input:custom config} PSX_LICENSE_PATH=$(wslpath ${env:PSX_LICENSE_PATH}) JABY_ENGINE_DIR=$(wslpath ${env:JABY_ENGINE_PATH})",
|
||||
},
|
||||
"linux": {
|
||||
"command": "make ${input:project}_${input:target} BUILD_PROFILE=${input:build profile} REGION=${input:region} CUSTOM_CONFIG=${input:custom config}",
|
||||
},
|
||||
"command": "${env:JABY_ENGINE_PATH}/scripts/podman_jaby_engine.sh ${workspaceFolder}:. make ${input:project}_${input:target} BUILD_PROFILE=${input:build profile} REGION=${input:region} CUSTOM_CONFIG=${input:custom config}",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"options": {
|
||||
"env": {
|
||||
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "read memory map",
|
||||
"type": "shell",
|
||||
"command": "psxreadmap.exe ${input:output memory map} application/bin/${input:tv format}/PSX-${input:build profile}/#{ProjectName}.elf",
|
||||
"command": "${env:JABY_ENGINE_PATH}/bin/psxreadmap ${input:output memory map} application/bin/${input:tv format}/PSX-${input:build profile}/#{ProjectName}.elf",
|
||||
"problemMatcher": [],
|
||||
"options": {
|
||||
"env": {
|
||||
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
|
@ -73,7 +58,7 @@
|
|||
"type": "command",
|
||||
"command": "shellCommand.execute",
|
||||
"args": {
|
||||
"command": "echo ^|^<Default^> && dir /b /a:d",
|
||||
"command": "echo \"|<Default>\" && ls -d */",
|
||||
"cwd": "${env:JABY_ENGINE_PATH}/config",
|
||||
"fieldSeparator": "|"
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
echo off
|
||||
set dst_name=JabyEngine-PSX_Game
|
||||
set dst="%APPDATA%\Code\User\ProjectTemplates\%dst_name%"
|
||||
|
||||
mkdir %dst%
|
||||
xcopy /s %dst_name% %dst%
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
dst_name=JabyEngine-PSX_Game
|
||||
dst="$HOME/.config/Code/User/ProjectTemplates"
|
||||
|
||||
mkdir -p $dst
|
||||
cp -r "$dst_name" "$dst"
|
Loading…
Reference in New Issue