mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-gopkg-in-dnaeon-go-vcr-v4: Simplify.
* gnu/packages/golang-check.scm (go-gopkg-in-dnaeon-go-vcr-v4) [arguments] <skip-build?>: Utilize this parameter instead of deleting 'build phase. <phases>: Use default 'check. Change-Id: I5c8e9599920fb012d2e067e70664be5a7df6de1c
This commit is contained in:
parent
03237c4e72
commit
f8bc382e55
1 changed files with 2 additions and 11 deletions
|
@ -2511,17 +2511,8 @@ accurate testing of your code.")
|
|||
(base32 "1p1a4hbk303k2bv9dmaf770dml71zr3260g5z7yd84vzhj8i0rzb"))))
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "gopkg.in/dnaeon/go-vcr.v4"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||
;; support.
|
||||
(delete 'build)
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))))
|
||||
#:skip-build? #t
|
||||
#:import-path "gopkg.in/dnaeon/go-vcr.v4"))))
|
||||
|
||||
(define-public go-gopkg-in-go-playground-assert-v1
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue