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