Integrate all the progress into master #6
|
@ -12,14 +12,19 @@
|
||||||
{
|
{
|
||||||
"label": "all",
|
"label": "all",
|
||||||
"type": "shell",
|
"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": {
|
"group": {
|
||||||
"kind": "build"
|
"kind": "build"
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"env": {
|
"env": {
|
||||||
"win_tools": "psxcdgen psxcdgen_ex psxcdread psxreadmap wslpath",
|
"win_tools": "psxcdgen_ex psxcdread psxreadmap wslpath",
|
||||||
"linux_tools": "cpp_out psxcdgen_ex jaby_engine_fconv mkoverlay wslpath",
|
"linux_tools": "cpp_out psxcdgen_ex jaby_engine_fconv mkoverlay",
|
||||||
"clean_tools": "cdtypes tool_helper"
|
"clean_tools": "cdtypes tool_helper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,7 +32,12 @@
|
||||||
{
|
{
|
||||||
"label": "cargo",
|
"label": "cargo",
|
||||||
"type": "shell",
|
"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": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
# build_all {build|check|clean}
|
# build_all {build|check|clean}
|
||||||
|
|
||||||
if [ $1 = clean ]; then
|
if [ $1 = clean ]; then
|
||||||
all_project=$win_tools $linux_tools $clean_tools
|
all_project="$win_tools $linux_tools $clean_tools"
|
||||||
else
|
else
|
||||||
all_project=$win_tools $linux_tools
|
all_project="$win_tools $linux_tools"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for prj in ${all_project[@]}; do
|
for prj in ${all_project[@]}; do
|
||||||
source run_cargo.sh $prj $1 release
|
./run_cargo.sh $prj $1 release
|
||||||
done
|
done
|
Loading…
Reference in New Issue