-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watch for changes in the mods folder and rebuild on each change #2
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the MapFileTrees folder content should be ignored, not just one file...
Well, that seems to be taken care now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MODBUILDER/MBINCompilerDownloader/temp.txt: This is not necessary. This file is auto-generated by MBINCompilerDownloader.bat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe MBINCompiler.exe should be excluded and not in this repo, except for older stable version if we feel like it.
also changes its extension to .yaml
I changed the options file's extension to .yaml in order to get syntax highlighting in editors and improve readability. |
While creating mods, sometimes you'd want to rapidly change stuff in your .lua script and test them in-game. for that you'd have to:
I've made a watcher that looks for any change in the folder and then builds your mods after each change eliminating steps 2 and 3.
Also, BuildMod.bat accepts arguments now and if provided it doesn't ask any questions.
keep in mind this is just a mvp. there are a lot of things to further improve this and is not tested enough but I wanted to see what you think about the idea and get your input before putting in more effort.