Add vscode settings

This commit is contained in:
ineedbots 2021-09-03 11:01:15 -06:00
parent b6991b3754
commit 5892e46daa
3 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
# Files to not ignore
!/.gitignore
!/.vscode
!/z_client.bat
!/z_dev.bat

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)
}