A suggestion for dub

Brad Anderson via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 28 21:16:50 PST 2016


On Monday, 29 February 2016 at 04:46:13 UTC, mahdi wrote:
> I just want to get some feedback to see if this is a good idea 
> or no.
>
> I propose adding a new command to dub (`dub dist` or `dub 
> package`) which will produce a zipped version of the current 
> package. This zip file can be uploaded to a central repository 
> (code.dlang.com maybe), and others can use this package in 
> their `dub.json` file by adding relevant dependency (Behind the 
> scene, dub will fetch and decompress the package).

A neat feature would be to deploy it using the github releases 
feature. There is an API for it: 
https://developer.github.com/v3/repos/releases/

Being able to upload program binaries for end users 
(non-programmers) to use would be killer.


More information about the Digitalmars-d mailing list