How do i activate the latest nightly without knowing the date ?

2018-01-04 Thread user789 via Digitalmars-d-learn
After using the script to setup DMD nightly i read in the output that i have to run "source ~/dlang/dmd-master-2018-01-04/activate" to have DMD DUB etc working. Is there another activation command, working without the date, suitable for a cron job ?

Re: How do i activate the latest nightly without knowing the date ?

2018-01-04 Thread user789 via Digitalmars-d-learn
On Thursday, 4 January 2018 at 20:28:47 UTC, user789 wrote: After using the script to setup DMD nightly i read in the output that i have to run "source ~/dlang/dmd-master-2018-01-04/activate" to have DMD DUB etc working. Is there another activation command, working without the date, suitable

Re: How do i activate the latest nightly without knowing the date ?

2018-01-04 Thread user789 via Digitalmars-d-learn
On Thursday, 4 January 2018 at 20:37:16 UTC, user789 wrote: On Thursday, 4 January 2018 at 20:28:47 UTC, user789 wrote: After using the script to setup DMD nightly i read in the output that i have to run "source ~/dlang/dmd-master-2018-01-04/activate" to have DMD DUB etc working. Is there ano

Re: I want to transmit the class name and the member name in the method

2018-01-05 Thread user789 via Digitalmars-d-learn
On Friday, 5 January 2018 at 07:40:14 UTC, Brian wrote: I think code style like: ~~ struct User { int id; string name; string email; } class ORM { } auto db = new ORM; auto users = db.select(User).where(email.like("*@hotm

Re: I want to transmit the class name and the member name in the method

2018-01-05 Thread user789 via Digitalmars-d-learn
On Friday, 5 January 2018 at 08:34:00 UTC, user789 wrote: On Friday, 5 January 2018 at 07:40:14 UTC, Brian wrote: I think code style like: ~~ struct User { int id; string name; string email; } class ORM { } auto db = new

Re: How do i activate the latest nightly without knowing the date ?

2018-01-05 Thread user789 via Digitalmars-d-learn
On Thursday, 4 January 2018 at 22:07:39 UTC, user789 wrote: On Thursday, 4 January 2018 at 20:37:16 UTC, user789 wrote: On Thursday, 4 January 2018 at 20:28:47 UTC, user789 wrote: After using the script to setup DMD nightly i read in the output that i have to run "source ~/dlang/dmd-master-2018

Re: What could this OptLink Error mean?

2018-01-05 Thread user789 via Digitalmars-d-learn
On Thursday, 4 January 2018 at 21:33:58 UTC, Dukc wrote: On Saturday, 30 December 2017 at 00:49:48 UTC, user1234 wrote: The deps have to be rebuild too. After downloading dmd 78, it started to work. It's likely you were right about the issue, DUB rebuilt everything after detecting new compi