Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit d07b253

Browse files
Support GDC for bootstrapping
1 parent 7b94bf4 commit d07b253

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/util.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ const path = require('path');
33

44
const isWindows = process.platform === 'win32';
55
const dub = atom.config.get('ide-dlang.dubPath') || findInPath(executableName('dub'));
6-
const compiler = findInPath(executableName('dmd')) || findInPath(executableName('ldc'));
6+
const compiler = findInPath(executableName('dmd')) ||
7+
findInPath(executableName('ldc')) ||
8+
findInPath(executableName('gdc'));
79

810
function findInPath(binary) {
911
for (let p of process.env['PATH'].split(isWindows ? ';' : ':')) {

0 commit comments

Comments
 (0)