I'm able to open a project, do some work, and then compile it immediately and directly from within Atom instead of needing to switch over to Dream Maker. I can also set a sound to make it beep when it's done compiling. For those of us that compile frequently (read: all of us), having a notification sound can be extremely handy.
Here's how to get it working:
- Download and install Atom
- At the starting screen (Welcome Guide), click "Install a Package" and then "Open Installer"
- Search for the package named "Build" and install it
- Place a .atom-build.json file inside your repository's root directory (beside the .dme)
- Fill it with the following:
Code: Select all
{
"cmd": "C:/path/to/Byond/bin/dm.exe",
"args": [ "C:/path/to/ColonialMarinesALPHA/ColonialMarinesALPHA.dme" ],
"sh": false,
"errorMatch": [
"\n(?<file>[\\\\\/0-9a-zA-Z\\._]+):(?<line>\\d+).*"
]
}
File > Settings > Packages > "build" package settings >
Make sure to restart Atom. It will pick up on the .json right away:
Hit F9 to build the project and test it.
For compile errors, press F4 to scroll through them, opening each file on the line number that failed so you can fix it quickly.
Other useful packages