Hey all, I was struggling to find a way to run Map Check as an automated process, so I’ve written a commandlet that works with a headless editor.
Hope that people find it useful. It’s a module that you can add to your project that should only function at Editor time (details for usage in the README.md). I’ve included some example usages of MapCheck for demo purposes but I recommend removing them from your project.
The commandlet also has an option to produce a json file of all the issues map check finds, in case you want to slot it into your CI/CD pipeline. By default it checks every map in your project, so make sure to setup your own filtering logic if you’ve got lots of maps, or make use of sublevels (you’ll get lots of duplicate errors/warnings).