From: Sam James <sam@gentoo.org>
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
Date: Fri, 25 Oct 2024 17:16:44 +0100 [thread overview]
Message-ID: <87cyjoyx77.fsf@gentoo.org> (raw)
In-Reply-To: <20241023195546.87280-2-xgqt@gentoo.org> (xgqt@gentoo.org's message of "Wed, 23 Oct 2024 21:55:43 +0200")
xgqt@gentoo.org writes:
> From: Maciej Barć <xgqt@gentoo.org>
>
> This will replace "edotnet fsi" as used in "app-shells/pwsh" package.
>
> Signed-off-by: Maciej Barć <xgqt@gentoo.org>
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}" "${@}"
> }
>
> +# @FUNCTION: efsi
> +# @USAGE: <command> [args...]
> +# @DESCRIPTION:
> +# Call dotnet fsi, passing the supplied arguments.
> +# FSI is the F# interpreter shipped with .NET SDK, it is useful for running 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.
next prev parent reply other threads:[~2024-10-25 16:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-23 19:55 [gentoo-dev] [PATCH 1/2] eclass/dotnet-pkg-base: turn off DOTNET_NUGET_SIGNATURE_VERIFICATION xgqt
2024-10-23 19:55 ` [gentoo-dev] [PATCH 2/2] eclass/dotnet-pkg-base: add efsi function for running FSI xgqt
2024-10-25 16:16 ` Sam James [this message]
2024-10-25 16:16 ` [gentoo-dev] [PATCH 1/2] eclass/dotnet-pkg-base: turn off DOTNET_NUGET_SIGNATURE_VERIFICATION Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cyjoyx77.fsf@gentoo.org \
--to=sam@gentoo.org \
--cc=dotnet@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=xgqt@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox