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

user789 user789 at 789.fi
Thu Jan 4 22:07:39 UTC 2018


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 another activation command, working without the date, 
>> suitable for a cron job ?
>
> "source ~/dlang/dmd-nightly/activate" doesn't work but would be 
> better when you just want to use the nightly

F1nally i found that just

---
wget 
https://nightlies.dlang.org/dmd-nightly/dmd.master.linux.tar.xz
tar xf ./dmd.master.linux.tar.xz03:12
export PATH=$PATH:`pwd`/dmd2/linux/bin64
---

works fine. maybe you should add something to the script to 
install and activate latest nightly in one step.


More information about the Digitalmars-d-learn mailing list