mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
shards.eclass: do not use 'shards build'
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -67,19 +67,10 @@ shards_src_configure() {
|
|||||||
|
|
||||||
# @FUNCTION: shards_src_compile
|
# @FUNCTION: shards_src_compile
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# General function for building packages using Shards.
|
# Function for building the package's documentation.
|
||||||
shards_src_compile() {
|
shards_src_compile() {
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
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
|
if use doc; then
|
||||||
ecrystal docs
|
ecrystal docs
|
||||||
HTML_DOCS=( docs/. )
|
HTML_DOCS=( docs/. )
|
||||||
|
|||||||
Reference in New Issue
Block a user