You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You were discussing the compiling of a script via VSCode extension earlier. Why don't we take this a step further and implement an auto-compiler into the language itself with a configuration file.
The file can be defined in the root of the project and be something like owscript.config.json or something of the sort (a standard filename, like package.json and have a setup like:
This is definitely, inspired, by NPM package file for sure. But this can give us a lot of flexibility in managing multiple projects and we can start standardizing a lot of the common functionality and make it easier to integrate git, generate standard rules for crediting author, showing version, etc. This could also integrate into the VSCode extension and utilize a submodule or an external path for the compiler (if defined).
While adding this to node-OWScript I did find it pretty easy to do. I may break this out into it's own package however to allow us to use it in the extension branch as well as in my package. I'll generate any typings needed as well because, TypeScript.
You were discussing the compiling of a script via VSCode extension earlier. Why don't we take this a step further and implement an auto-compiler into the language itself with a configuration file.
The file can be defined in the root of the project and be something like
owscript.config.json
or something of the sort (a standard filename, likepackage.json
and have a setup like:This is definitely, inspired, by NPM package file for sure. But this can give us a lot of flexibility in managing multiple projects and we can start standardizing a lot of the common functionality and make it easier to integrate git, generate standard rules for crediting author, showing version, etc. This could also integrate into the VSCode extension and utilize a submodule or an external path for the compiler (if defined).
EDIT: Forgot to add. Maybe on top of "OWScript" compiler we can write a "watcher" that will give us the ability to compile on file change, or something. Like my powershell file in my upgrade shop: https://github.com/overwatchworkshop/upgrade-shop/blob/master/watch.ps1
This watcher will utilize this configuration file so it makes development process easier and less to remember. Configure it once, and boom.
The text was updated successfully, but these errors were encountered: