fix #83 - add support for the syntax dub build type

This commit is contained in:
Basile Burg 2021-07-09 14:38:35 +02:00
parent bd9715c07d
commit b95eb67b8f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
# v3.9.12-dev
## Enhancement
- DUB projects: added support for the _syntax_ build type. (#83)
# v3.9.11
## Regressions fixed

View File

@ -205,7 +205,7 @@ type
// these 9 built types always exist
TDubBuildType = (plain, debug, release, releaseDebug, releaseNoBounds, unittest,
docs, ddox, profile, cov, unittestcov);
docs, ddox, profile, cov, unittestcov, syntax);
// returns true if filename is a valid dub project. Only json format is supported.
function isValidDubProject(const filename: string): boolean;
@ -234,7 +234,7 @@ const
DubBuiltTypeName: array[TDubBuildType] of string = ('plain', 'debug', 'release',
'release-debug', 'release-nobounds', 'unittest', 'docs', 'ddox', 'profile',
'cov', 'unittest-cov'
'cov', 'unittest-cov', 'syntax'
);
DubDefaultConfigName = '(default config)';