fix `raco setup' package-dependency check when PLaneT package is installed

This commit is contained in:
Matthew Flatt 2013-07-22 18:15:26 -06:00
parent 5457f72391
commit 0eb29a4dcf

View File

@ -1638,11 +1638,11 @@
(let ([tests-path (string->path "tests")]
[scribblings-path (string->path "scribblings")])
(for/list ([cc (in-list ccs-to-compile)])
(unless (cc-collection cc) (printf "~s\n" cc))
(if (or (member tests-path (cc-collection cc))
(member scribblings-path (cc-collection cc)))
'build
'run)))
(and (cc-collection cc) ; #f for a PLaneT package
(if (or (member tests-path (cc-collection cc))
(member scribblings-path (cc-collection cc)))
'build
'run))))
setup-printf setup-fprintf
(fix-dependencies)
(verbose))