On Mon, 2014-10-27 at 02:33 +0000, Tofu Ninja via Digitalmars-d wrote: […] > Something like "import derelict.opengl3.gl3;" could automatically > trigger dub if the import was not found on any local path. […]
Groovy has "grapes" for automated download of dependencies.
@Grab("org.spockframework:spock-core:0.7-groovy2.0")
import spock.core.Specification
The artefact is cached locally after first download, but you have to
remember to run the script while connected to the Internet. Not that
useful for projects where the Gradle script would manage the
dependencies, but great for scripts.
Go also allows for import of packages from elsewhere, and I rather like
the way that is done, but I think that whole Go mechanism has been
slagged off on this list a number of times already. Pity.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
