Added vscode settings, deploy when clone

This commit is contained in:
ineedbots 2021-09-03 10:56:14 -06:00
parent abea7cea3d
commit 270b1763f3
4 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
# Files to not ignore
!/.gitignore
!/.vscode
# Folder to not ignore
!/raw

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"astyle.astylerc": "${workspaceRoot}/.astylerc",
"astyle.additional_languages": [
"gsc"
],
"editor.defaultFormatter": "chiehyu.vscode-astyle",
"editor.formatOnSave": true
}

View File

@ -40,6 +40,9 @@ async function doDeploy() {
await exec(`git clone ${repo_url} && cd ${repo_name} && git submodule update --init --recursive`)
printToConsole('Cloned!')
printToConsole('Deploying...')
await exec('deploy.bat')
printToConsole('Deployed!')
} catch (f) {
printToConsole(f, true)
}

View File

@ -1062,7 +1062,7 @@ load_waypoints()
case "mp_hillside_ss":
level.waypoints = maps\mp\bots\waypoints\getaway::Getaway();
break;
case "mp_terminal_cls":
level.waypoints = maps\mp\bots\waypoints\terminal::Terminal();
break;