From 00a45947bfeaa54c9bd429c9feeac1c901053048 Mon Sep 17 00:00:00 2001 From: ineedbots Date: Fri, 3 Sep 2021 11:04:41 -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 43237a4..f7fd6b2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Files to not ignore !/.gitignore +!/.vscode !/z_devserver.bat !/z_dev.bat !/z_serverdev.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 08ab65e..1f27459 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) }