On Wednesday, 21 December 2016 at 18:07:23 UTC, Nordlöw wrote:
Is there a way to specify in dub.json (or any other file) that
only a subset of the sources compiled and linked to a library
or app should have they're unittests enabled?
Check this one:
app.d
--
Version ( DoubleBuffer )
{
u
https://forum.dlang.org/post/owhmsgkhszkwcjkxl...@forum.dlang.org
On Wednesday, 21 December 2016 at 18:07:23 UTC, Nordlöw wrote:
Is there a way to specify in dub.json (or any other file) that
only a subset of the sources compiled and linked to a library
or app should have they're unittests enab
On 01/12/2020 7:39 PM, z wrote:
On Tuesday, 1 December 2020 at 04:50:03 UTC, rikki cattermole wrote:
...
What puzzles me is that the dependencies are indeed declared, but "dub
describe" refuses to recognize the dependencies and "dub build" fails.
"dub list" does recognize the root folder, but
On Sunday, 29 November 2020 at 20:08:33 UTC, adnan449 wrote:
Hello, I would be greatly thankful if I was given an easy guide
on how to produce windows executables for GtkD applications. I
do not have an access to a windows machine but I need to be
able to produce installers/exe files for the wi
Running .\dawn-test-application.exe
2 modules passed unittests
Wich ones? it should print
```
Running tests for target X
- src/module_a.d Tests: OK <-- line in green
- src/module_b.d Tests: OK
- src/module_c.d Tests: OK
- src/module_e.d Te
On Wednesday, 21 December 2016 at 19:49:20 UTC, Jacob Carlborg
wrote:
On 2016-12-21 19:07, Nordlöw wrote:
Is there a way to specify in dub.json (or any other file) that
only a
subset of the sources compiled and linked to a library or app
should
have they're unittests enabled?
You can use the
On Tuesday, 1 December 2020 at 04:50:03 UTC, rikki cattermole
wrote:
...
What puzzles me is that the dependencies are indeed declared, but
"dub describe" refuses to recognize the dependencies and "dub
build" fails.
"dub list" does recognize the root folder, but trying to get a
subpackage to
dub add-local, adds a directory as a known package that it can use as a
dependency (or to be executed).
You need to specify in the package that depends on the dependency what
dependencies you have.
I.e.
See the dependencies key:
{
"name": "myproject",
"description": "A littl
How does one set up a dub package so that it contains multiple
sublibraries that may or may not depend on these same
libraries?(but never co-dependant)
So far i've tried using add-local and add-path with subpackage
declarations in the root folder's dub.sdl but to no avail.
(dub does not complain
On Monday, 30 November 2020 at 14:36:08 UTC, FeepingCreature
wrote:
On Monday, 30 November 2020 at 14:33:22 UTC, realhet wrote:
...
Though you may want to do `items = null;` too.
I just forgot 1 of three things, thx for pointing it out.
And I also forget to notify the parent to remove the refer
On Monday, 30 November 2020 at 14:33:22 UTC, realhet wrote:
Hi,
class A{
A parent;
A[] items;
void myDestroy(){
items.each!(i => i.myDestroy);
parent = null;
// after this point I think the GC will release it
automatically, and it will call ~this() too. Am I right?
}
}
I
Hi,
class A{
A parent;
A[] items;
void myDestroy(){
items.each!(i => i.myDestroy);
parent = null;
// after this point I think the GC will release it
automatically, and it will call ~this() too. Am I right?
}
}
I have a hierarchy of class instances forward and backward link
12 matches
Mail list logo