Adding DMDScript to dub
Rikki Cattermole via Digitalmars-d
digitalmars-d at puremagic.com
Fri Dec 12 17:58:53 PST 2014
On 13/12/2014 2:53 p.m., 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.
"dependencies": {
":engine" : "*",
":ds" : "*",
":ds-ext": "*"
},
I wasn't aware that not having the package name before a : would infer
its own subpackage.
More information about the Digitalmars-d
mailing list