Last active
March 14, 2026 16:06
-
-
Save vitalfadeev/51afb3eaa42ddf69d0ee62aff15968b7 to your computer and use it in GitHub Desktop.
Sublime 4 D lang build with dub, or with dub ldc2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "shell_cmd": "dub build", | |
| "file_regex": "^(.*?)\\(([0-9]+)(,[0-9]+)?\\)", | |
| "working_dir": "${folder:${project_path:${file_path}}}", | |
| "selector": "source.d", | |
| "syntax": "Packages/D/DMD Output.sublime-syntax", | |
| "keyfiles": ["dub.sdl", "dub.json"], | |
| "variants": | |
| [ | |
| { | |
| "name": "dub Run", | |
| "shell_cmd": "dub run", | |
| }, | |
| { | |
| "name": "dub test", | |
| "shell_cmd": "dub test", | |
| }, | |
| { | |
| "name": "dub Run ldc2", | |
| "shell_cmd": "dub run --compiler=ldc2", | |
| }, | |
| { | |
| "name": "dub test ldc2", | |
| "shell_cmd": "dub test --compiler=ldc2", | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment