shards.eclass: do not use 'shards build'

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-08 23:50:50 +05:00
parent ec1443faeb
commit 8a943f0dd2

View File

@@ -67,19 +67,10 @@ shards_src_configure() {
# @FUNCTION: shards_src_compile
# @DESCRIPTION:
# General function for building packages using Shards.
# Function for building the package's documentation.
shards_src_compile() {
debug-print-function ${FUNCNAME} "${@}"
local build_args=(
--threads=$(makeopts_jobs)
--verbose
)
if gshards-has-targets; then
eshards build "${build_args[@]}"
fi
if use doc; then
ecrystal docs
HTML_DOCS=( docs/. )