[email protected] writes:
> From: Maciej Barć <[email protected]>
>
> This will replace "edotnet fsi" as used in "app-shells/pwsh" package.
>
> Signed-off-by: Maciej Barć <[email protected]>
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.