mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 11:00:36 +02:00
gnu: go-github-com-xrash-smetrics: Simplify.
* gnu/packages/golang-xyz.scm (go-github-com-xrash-smetrics) [arguments] <phases>: Use default 'check. Change-Id: I1bbf3fb59f4a7e161ec701aedb50f402832d5710
This commit is contained in:
parent
177da1bd7a
commit
b90d134190
1 changed files with 1 additions and 9 deletions
|
@ -14064,15 +14064,7 @@ similar string with weeks or days too.")
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/xrash/smetrics"
|
#:import-path "github.com/xrash/smetrics"))
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
;; XXX: Replace when go-build-system supports nested path.
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
|
||||||
(invoke "go" "test" "-v" "./..."))))))))
|
|
||||||
(home-page "https://github.com/xrash/smetrics")
|
(home-page "https://github.com/xrash/smetrics")
|
||||||
(synopsis "String metrics library")
|
(synopsis "String metrics library")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue