Use new build scripts
This commit is contained in:
parent
396bb3e6ae
commit
4c8f9c2c79
|
@ -12,14 +12,19 @@
|
|||
{
|
||||
"label": "all",
|
||||
"type": "shell",
|
||||
"command": "./build_all.bat ${input:cargo cmd}",
|
||||
"windows": {
|
||||
"command": "./build_all.bat ${input:cargo cmd}"
|
||||
},
|
||||
"linux": {
|
||||
"command": "./build_all.sh ${input:cargo cmd}"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build"
|
||||
},
|
||||
"options": {
|
||||
"env": {
|
||||
"win_tools": "psxcdgen psxcdgen_ex psxcdread psxreadmap wslpath",
|
||||
"linux_tools": "cpp_out psxcdgen_ex jaby_engine_fconv mkoverlay wslpath",
|
||||
"win_tools": "psxcdgen_ex psxcdread psxreadmap wslpath",
|
||||
"linux_tools": "cpp_out psxcdgen_ex jaby_engine_fconv mkoverlay",
|
||||
"clean_tools": "cdtypes tool_helper"
|
||||
}
|
||||
}
|
||||
|
@ -27,7 +32,12 @@
|
|||
{
|
||||
"label": "cargo",
|
||||
"type": "shell",
|
||||
"command": "./run_cargo ${input:project} ${input:cargo cmd} ${input:build cfg} ${input:cargo target}",
|
||||
"windows": {
|
||||
"command": "./run_cargo.bat ${input:project} ${input:cargo cmd} ${input:build cfg} ${input:cargo target}",
|
||||
},
|
||||
"linux": {
|
||||
"command": "./run_cargo.sh ${input:project} ${input:cargo cmd} ${input:build cfg} ${input:cargo target}",
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
},
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
# build_all {build|check|clean}
|
||||
|
||||
if [ $1 = clean ]; then
|
||||
all_project=$win_tools $linux_tools $clean_tools
|
||||
all_project="$win_tools $linux_tools $clean_tools"
|
||||
else
|
||||
all_project=$win_tools $linux_tools
|
||||
all_project="$win_tools $linux_tools"
|
||||
fi
|
||||
|
||||
for prj in ${all_project[@]}; do
|
||||
source run_cargo.sh $prj $1 release
|
||||
./run_cargo.sh $prj $1 release
|
||||
done
|
Loading…
Reference in New Issue