Date: Wed, 7 Jul 2021 05:44:55 -0400 From: Steve Wills <steve@mouf.net> To: Robert Clausecker <fuz@fuz.su>, ports@freebsd.org Subject: Re: Supply difficult to build assets as an extra distfile? Message-ID: <63f4cba8-1e5b-6ae2-3d15-d8a8b76cdd30@mouf.net> In-Reply-To: <YOTaDUVH4vzbGH6q@fuz.su> References: <YOTaDUVH4vzbGH6q@fuz.su>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On 7/6/21 6:32 PM, Robert Clausecker wrote: > Greetings! > > As requested on reddit [1], I would like to make a port for WriteFreely [2], > a "publishing platform for writers." While the project itself is an easily > ported Go program, it requires assets to be generated using a Node.js tool > as a part of the build. [3] Unfortunately that means having to wrangle with NPM > to get the code generated in a fixed version and that seems very hard. > > Would it be acceptable to generate these assets on my machine and roll them > into a distfile so the port can be built without involving any NPM shenanigans? > I would add a makefile target to generate said distfile so committers can > audit that the distfile has been generated correctly. I think that's fine, I do something similar with security/vault. Cheers, Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63f4cba8-1e5b-6ae2-3d15-d8a8b76cdd30>