Compare commits
2 Commits
9c3f902bfd
...
7a8b28f0f4
Author | SHA1 | Date |
---|---|---|
Les De Ridder | 7a8b28f0f4 | |
Les De Ridder | 8072bfd0f3 |
7
dub.sdl
7
dub.sdl
|
@ -10,3 +10,10 @@ dependency "sdlang-d" version="~>0.10.5"
|
||||||
preGenerateCommands "./generate-package-version.fish"
|
preGenerateCommands "./generate-package-version.fish"
|
||||||
versions "VibeDefaultMain"
|
versions "VibeDefaultMain"
|
||||||
targetPath "out"
|
targetPath "out"
|
||||||
|
|
||||||
|
configuration "application" {
|
||||||
|
}
|
||||||
|
|
||||||
|
configuration "modern" {
|
||||||
|
versions "BasicFixes" "SupportTLS"
|
||||||
|
}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{
|
{
|
||||||
"fileVersion": 1,
|
"fileVersion": 1,
|
||||||
"versions": {
|
"versions": {
|
||||||
"eventcore": "0.8.48",
|
"eventcore": "0.8.50",
|
||||||
"libasync": "0.8.5",
|
"libasync": "0.8.6",
|
||||||
"memutils": "1.0.4",
|
"memutils": "1.0.4",
|
||||||
"sdlang-d": "0.10.5",
|
"sdlang-d": "0.10.6",
|
||||||
"stdx-allocator": "2.77.5",
|
"stdx-allocator": "2.77.5",
|
||||||
"taggedalgebraic": "0.11.8",
|
"taggedalgebraic": "0.11.18",
|
||||||
"unit-threaded": "0.7.55",
|
"unit-threaded": "0.7.55",
|
||||||
"vibe-core": "1.8.1",
|
"vibe-core": "1.8.1",
|
||||||
"vibe-d": "0.9.0-alpha.1"
|
"vibe-d": "0.9.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,27 +3,30 @@ module ircd.versions;
|
||||||
/++
|
/++
|
||||||
Supported versions:
|
Supported versions:
|
||||||
|
|
||||||
* NotStrict: enabled when any versions are enabled that disable RFC-strictness (i.e. any of the following)
|
* SupportTLS: compile with TLS support
|
||||||
* SupportTLS: compile with TLS support, enabled when NotStrict is on
|
|
||||||
* BasicFixes: enable basic/sanity RFC fixes
|
* BasicFixes: enable basic/sanity RFC fixes
|
||||||
* MaxNickLengthConfigurable: makes max nick length configurable
|
* MaxNickLengthConfigurable: makes max nick length configurable
|
||||||
* Modern: enable all versions
|
* Modern: enable all versions
|
||||||
|
|
||||||
|
(* NotStrict: enabled when any versions are enabled that disable RFC-strictness, i.e. any of the above)
|
||||||
+/
|
+/
|
||||||
|
|
||||||
|
version (Modern)
|
||||||
|
{
|
||||||
|
version = SupportTLS;
|
||||||
|
version = BasicFixes;
|
||||||
|
version = MaxNickLengthConfigurable;
|
||||||
|
}
|
||||||
|
|
||||||
version (SupportTLS) version = NotStrict;
|
version (SupportTLS) version = NotStrict;
|
||||||
version (BasicFixes) version = NotStrict;
|
version (BasicFixes) version = NotStrict;
|
||||||
version (MaxNickLengthConfigurable) version = NotStrict;
|
version (MaxNickLengthConfigurable) version = NotStrict;
|
||||||
|
|
||||||
version (NotStrict)
|
version (NotStrict)
|
||||||
{
|
{
|
||||||
version = SupportTLS;
|
version (SupportTLS) {}
|
||||||
}
|
else
|
||||||
|
{
|
||||||
version (Modern)
|
static assert(false, "TLS support must be enabled if any non-strict versions are enabled.");
|
||||||
{
|
}
|
||||||
version = NotStrict;
|
|
||||||
|
|
||||||
version = SupportTLS;
|
|
||||||
version = BasicFixes;
|
|
||||||
version = MaxNickLengthConfigurable;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue