Re: How to specify a version from dub build command

2020-07-07 Thread mw via Digitalmars-d-learn
On Tuesday, 7 July 2020 at 06:34:15 UTC, adnan338 wrote: I have a separate version for flatpak builds in my app. Let's say I have a large project that builds with dub that goes like this: import std.stdio; void main() { version (flatpak) { writeln(`Flatpak build`);

How to specify a version from dub build command

2020-07-06 Thread adnan338 via Digitalmars-d-learn
I have a separate version for flatpak builds in my app. Let's say I have a large project that builds with dub that goes like this: import std.stdio; void main() { version (flatpak) { writeln(`Flatpak build`); } else { writeln("Edit source/app.d to