Provisional snap for DUB (D language package/build manager)

Kyle Fazzari kyle.fazzari at canonical.com
Mon Oct 31 16:24:43 UTC 2016



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.

-- 
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
kyle at canonical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161031/cd8daf54/attachment.sig>


More information about the Snapcraft mailing list