diff --git a/.gitignore b/.gitignore index 6c339d5..789ce3c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Files to not ignore !/.gitignore +!/.vscode !/z_client.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 d6507a1..2698962 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) }