From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F0A5158042 for ; Fri, 25 Oct 2024 16:16:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53629E0934; Fri, 25 Oct 2024 16:16:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F22FE08FC for ; Fri, 25 Oct 2024 16:16:48 +0000 (UTC) From: Sam James To: xgqt@gentoo.org Cc: gentoo-dev@lists.gentoo.org, dotnet@gentoo.org Subject: Re: [gentoo-dev] [PATCH 2/2] eclass/dotnet-pkg-base: add efsi function for running FSI In-Reply-To: <20241023195546.87280-2-xgqt@gentoo.org> (xgqt@gentoo.org's message of "Wed, 23 Oct 2024 21:55:43 +0200") Organization: Gentoo References: <20241023195546.87280-1-xgqt@gentoo.org> <20241023195546.87280-2-xgqt@gentoo.org> Date: Fri, 25 Oct 2024 17:16:44 +0100 Message-ID: <87cyjoyx77.fsf@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 0e002861-9116-4a62-b09d-9dfa3885b3d3 X-Archives-Hash: 930a0fae385cadeca3236b1f2ca3418f xgqt@gentoo.org writes: > From: Maciej Bar=C4=87 > > This will replace "edotnet fsi" as used in "app-shells/pwsh" package. > > Signed-off-by: Maciej Bar=C4=87 OK given people will likely forget nologo, so probably worth having. > --- > eclass/dotnet-pkg-base.eclass | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/eclass/dotnet-pkg-base.eclass b/eclass/dotnet-pkg-base.eclass > index 8cedde073b..26db694f59 100644 > --- a/eclass/dotnet-pkg-base.eclass > +++ b/eclass/dotnet-pkg-base.eclass > @@ -294,6 +294,18 @@ edotnet() { > edo "${DOTNET_PKG_EXECUTABLE}" "${@}" > } >=20=20 > +# @FUNCTION: efsi > +# @USAGE: [args...] > +# @DESCRIPTION: > +# Call dotnet fsi, passing the supplied arguments. > +# FSI is the F# interpreter shipped with .NET SDK, it is useful for runn= ing F# > +# maintenance scripts. > +efsi() { > + debug-print-function ${FUNCNAME} "$@" > + > + edotnet fsi --nologo "${@}" > +} > + > # @FUNCTION: dotnet-pkg-base_info > # @DESCRIPTION: > # Show information about current .NET SDK that is being used.