A suggestion for dub

mahdi via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 28 21:59:56 PST 2016


On Monday, 29 February 2016 at 05:16:50 UTC, Brad Anderson wrote:
> 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.

But definitely those binaries won't be cross-platform! That's why 
I think uploading/downloading source code is more robust.


More information about the Digitalmars-d mailing list