zip packages to pack modules
karabuta via Digitalmars-d
digitalmars-d at puremagic.com
Tue Sep 29 11:24:40 PDT 2015
On Tuesday, 29 September 2015 at 15:07:40 UTC, ponce wrote:
> On Tuesday, 29 September 2015 at 14:24:03 UTC, tcak wrote:
>>
>> ZIP packages in no way make any change in the language. There
>> is no need for pragmas even. There is no this simple (e.g. dmd
>> main.d library.zip) substitute for it at the moment.
>
> You can do it with a dmd frontend, if an argument finish in
> .zip, then unzip it in a temporary directory, then call dmd.
> Passthrough all other flags.
>
> On the other hand, I can only recommend you to use DUB. It made
> things way more simpler than they were, but you do need to
> learn it.
dub is more convenient than npm(node package manager) IMHO. Them
problem is the bloating of dependencies.
More information about the Digitalmars-d
mailing list