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 AF7C615807B for ; Tue, 29 Oct 2024 23:22:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEC73E0844; Tue, 29 Oct 2024 23:22:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9454E0844 for ; Tue, 29 Oct 2024 23:22:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C55AA342FDB for ; Tue, 29 Oct 2024 23:22:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C88E71737 for ; Tue, 29 Oct 2024 23:22:21 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1730244136.a9261dc65b6e9b43fdc0cfc9b9fb1445eeaeac7e.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/dotnet-pkg-base.eclass X-VCS-Directories: eclass/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: a9261dc65b6e9b43fdc0cfc9b9fb1445eeaeac7e X-VCS-Branch: master Date: Tue, 29 Oct 2024 23:22:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f3651e30-9a2a-4541-bd4a-a398b0179978 X-Archives-Hash: 561c5ab02ce983006146a006fed5a31c commit: a9261dc65b6e9b43fdc0cfc9b9fb1445eeaeac7e Author: Maciej Barć gentoo org> AuthorDate: Wed Oct 23 19:45:48 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue Oct 29 23:22:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9261dc6 eclass/dotnet-pkg-base: add efsi function for running FSI This will replace "edotnet fsi" as used in "app-shells/pwsh" package. Signed-off-by: Maciej Barć gentoo.org> 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 784db5ce83f0..8ec21c9a276c 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: [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.