DIP11: Automatic downloading of libraries

Adam D. Ruppe destructionator at gmail.com
Fri Jun 17 09:47:36 PDT 2011


> It would be better to download an archive of some sort.

For cases when this is necessary, it'd be easy enough to grab
a .zip for the package rather than the .d for the module.

The .zips could take a cue from the Slackware package format too.
They simply puts things in the appropriate folders
to be added to your installation, then zip it right up.

src/package.name/file.d
bin/package.name.dll
lib/package.name.lib
package.name.txt  (this contains metadata if you want it)


You can unzip it locally, in your dmd folder, or whatever and then
the files are available for use if your -L and -I paths are good.

Thus, the same basic idea covers binary library distributions too.

This could be in addition to grabbing the .d files alone.


More information about the Digitalmars-d mailing list