Hi all,<div><br></div><div>I've started working on a little experimental package manager <a href="https://github.com/rjmcguire/dip">https://github.com/rjmcguire/dip</a> that works similar to golang's go command.</div>
<div>I've only tested it on linux amd64.</div><div><br></div><div>At the moment the commands that work are (these are examples):</div><div><br></div><div># to fetch a repo using git (only works for <a href="http://github.com">github.com</a> at the mo'), files placed in $DPATH[0]/src/</div>
<div>dip get <a href="http://github.com/D-Programming-Deimos/openssl">github.com/D-Programming-Deimos/openssl</a></div><div><br></div><div># to build</div><div>dip <a href="http://github.com/D-Programming-Deimos/openssl">github.com/D-Programming-Deimos/openssl</a></div>
<div># or from a packages directory:</div><div>dip</div><div><br></div><div># to install in the first path found in DPATH, $DPATH[0]/bin for executables:</div><div>dip -i</div><div># or</div><div>dip install <a href="http://github.com/D-Programming-Deimos/openssl">github.com/D-Programming-Deimos/openssl</a></div>
<div><br></div><div>Program expects a environment variable DPATH to exist, it will tell you:</div><div><div><i>$ dip</i></div><div><i>WARNING DPATH NOT SET, suggest DPATH="~/d/:/usr/local/d"</i></div></div><div>
<br></div><div>Program assumes dmd is in /usr/local/d/bin/dmd unless you set DROOT to something else such as "/usr/" in which case it will use /usr/bin/dmd.</div><div><br></div><div>Config is in README.md example (excluding ====== lines):</div>
<div>=========================================</div><div><div># vibe.d - The vibe.d web services framework</div><div><br></div><div>## Dependencies:</div><div> * <a href="http://github.com/D-Programming-Deimos/openssl">github.com/D-Programming-Deimos/openssl</a>: >=0</div>
<div> * <a href="http://github.com/D-Programming-Deimos/libevent">github.com/D-Programming-Deimos/libevent</a>: >=0</div><div><br></div><div>## Flags:</div><div> * Library</div><div> * -version=VibeLibeventDriver - options are VibeLibevDriver, VibeLibeventDriver</div>
</div><div>=========================================</div><div><br></div><div><br></div><div>todo:</div><div>* handle dub packages, their dependencies are not fully qualified in package.json so I can't just load them from the file, if you put qualified dependencies in "dip-dependencies" in package.json it does work.</div>
<div>* support sourceforge etc...</div><div>* most likely I'll be changing the way config works because it doesn't look nice in github's md viewer.</div><div>* check versions of packages and enforce them</div>
<div>* output help</div><div>* Fix bugs :)</div><div><br></div><div>Thanks.</div><div><br></div><div>Kind regards,</div><div><br></div>