zip packages to pack modules

ponce via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 29 08:07:39 PDT 2015


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.


More information about the Digitalmars-d mailing list