Provisional snap for DUB (D language package/build manager)
Sergio Schvezov
sergio.schvezov at canonical.com
Mon Oct 31 21:01:29 UTC 2016
El 31 oct. 2016 6:25 PM, "Kyle Fazzari" <kyle.fazzari at canonical.com>
escribió:
>
>
>
> On 10/29/2016 08:14 AM, Joseph Rushton Wakeling wrote:
> > On 27/10/16 10:27, Didier Roche wrote:
> >> Just a note: after a quick double checking , the snapcraft go plugin
> >> relies on ubuntu packages (I think it should rather download latest
> >> stable go and use GOROOT to use it). This isn't the case for other
> >> plugins like nodejs which was the one I had in mind and I still think
> >> you should prefer that road.
> >
> > In principle that should be possible, as there are precompiled downloads
> > of dub available here: https://code.dlang.org/download Using these
> > could have some advantages, including allowing the user of the plugin to
> > specify the exact version of dub they want to build with.
> >
> > Since there are different Linux downloads for x86, x86-64 and ARM, is
> > there any way for the snapcract plugin to detect what the host system is
> > and download accordingly ... ?
>
> Indeed, you can utilize the `self.project.arch_triplet` property for that.
The nodejs plugin actually used this construct if you need a reference.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161031/ef7e9503/attachment.html>
More information about the Snapcraft
mailing list