Fixing broken build and improving error message

This commit is contained in:
Jay McCarthy 2013-10-15 10:53:59 -06:00
parent 7cd12dd0f0
commit 0182e3ff33
4 changed files with 23 additions and 4 deletions

View File

@ -0,0 +1,9 @@
#lang info
(define collection 'multi)
(define deps '())
(define pkg-desc "RackUnit documentation")
(define pkg-authors '(noel ryanc))

View File

@ -0,0 +1,9 @@
#lang info
(define collection 'multi)
(define deps '())
(define pkg-desc "RackUnit documentation")
(define pkg-authors '(noel ryanc))

View File

@ -3,12 +3,12 @@
(define collection 'multi)
(define deps '("rackunit-lib"
"rackunit-docs"
"rackunit-doc"
"rackunit-tests"
"rackunit-gui"
"rackunit-plugin-lib"))
(define implies '("rackunit-lib"
"rackunit-docs"
"rackunit-doc"
"rackunit-tests"
"rackunit-gui"
"rackunit-plugin-lib"))

View File

@ -122,8 +122,9 @@
(define f-name (path->string f))
(when (hash-ref found f-name #f)
(error 'pack-local
"found packages multiple times: ~a and ~a"
(hash-ref found f)
"found package ~a multiple times: ~a and ~a"
f-name
(hash-ref found f-name)
src-f))
(hash-set! found f-name src-f))]
[(directory-exists? src-f)