From f8a2f020f5262bd095140af91e4c1c51d52ac09d Mon Sep 17 00:00:00 2001 From: ineedbots Date: Fri, 3 Sep 2021 11:02:32 -0600 Subject: [PATCH] Added vscode settings --- .gitignore | 1 + .vscode/settings.json | 8 ++++++++ deploy.js | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index ea1b4c2..032f1d9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /* # Files to not ignore +!/.vscode !/.gitignore !/z_devserver.bat !/z_dev.bat diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ef0aeab --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "astyle.astylerc": "${workspaceRoot}/.astylerc", + "astyle.additional_languages": [ + "gsc" + ], + "editor.defaultFormatter": "chiehyu.vscode-astyle", + "editor.formatOnSave": true +} \ No newline at end of file diff --git a/deploy.js b/deploy.js index 528e9e4..52c2fe0 100644 --- a/deploy.js +++ b/deploy.js @@ -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) }