On 28/09/2022 7:18 AM, Alain De Vos wrote:
Don't forget there is also BSD
Should already be supported.
Platform specific settings are supported through the use of field name
suffixes. Suffixes are dash separated list of operating
system/architecture/compiler identifiers, as defined in the D
Don't forget there is also BSD
Alternatively we could just extend platforms to work in places other
than configurations.
https://dub.pm/package-format-json.html#configuration-settings
On 9/26/22 4:57 PM, Christian Köstlin wrote:
Or posix only? Or not windows?
Kind regards,
Christian
We have specific directives based on os, I had an idea that you could
say something like:
```json
"dependencies-windows": {
"not-available" : "*"
}
```
But it still tries to find this pa
On 27.09.22 13:07, Ahmet Sait wrote:
On Monday, 26 September 2022 at 20:57:06 UTC, Christian Köstlin wrote:
Or posix only? Or not windows?
Kind regards,
Christian
Not necessarily a dub solution but you can do something like this:
```d
version(Posix) { }
else
static assert(0, "Unsupported
On Monday, 26 September 2022 at 20:57:06 UTC, Christian Köstlin
wrote:
Or posix only? Or not windows?
Kind regards,
Christian
Not necessarily a dub solution but you can do something like this:
```d
version(Posix) { }
else
static assert(0, "Unsupported platform.");
```
This will result in a
Or posix only? Or not windows?
Kind regards,
Christian