Adding DMDScript to dub

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 14 22:12:43 PST 2014


On 12/14/2014 8:53 PM, Martin Nowak wrote:
> On 12/13/2014 02:53 AM, Walter Bright wrote:
>> Dmitry Olshansky has graciously ported DMDScript (a Javascript engine
>> written in D) to D2.
>>
>>    https://github.com/DigitalMars/DMDScript
>>
>> I have been trying to get it into dub, but have been stalled by the
>> following when I attempt to register:
>>
>>    Repository owner: DigitalMars
>>    Repository name: DMDScript
>>
>>
>> it says in red:
>>
>>    Package names may not be empty. Check dub.json.
>>
>>
>> What does that mean? There is no "package name" field in the dub.json file.
>>
>
> You should the full error, it says.
>
> Branch ~test: Package names may not be empty. Check dub.json.

That's a new error, I fixed the original per Rikki's advice. I don't understand 
it, either. Shouldn't it be looking at master, not branch test?


More information about the Digitalmars-d mailing list