Skip to content

Commit

Permalink
Address "unused dependencies" warnings (fix #174)
Browse files Browse the repository at this point in the history
It still shows `macro-debugger`, `cover` and `cover-coveralls` as
unused. There doesn't seem to be a good way around this for the
moment.

(done in today's meeting)
  • Loading branch information
countvajhula committed Jan 3, 2025
1 parent 6bf3e07 commit ffc767e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions qi-doc/scribblings/forms.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@require[scribble/manual
scribble-abbrevs/manual
scribble/example
metapict ; technically only used dynamically, but adding here for info deps
"eval.rkt"
@for-label[(only-space-in qi qi)
racket]]
Expand Down
3 changes: 3 additions & 0 deletions qi-lib/info.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
(define deps '("base"
("fancy-app" #:version "1.1")
"syntax-spec-v2"
;; we do need this, but it does need to be
;; dynamic-require'd, so raco doesn't see
;; it as a compile-time dependency
"macro-debugger"))
(define build-deps '())
(define clean '("compiled" "private/compiled"))
Expand Down
11 changes: 8 additions & 3 deletions qi-sdk/info.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@
"adjutor"
"cli"
"math-lib"
"collections-lib"
"relation-lib"
"csv-writing"
"require-latency"
"vlibench"
;; these are only used via `raco` in the Makefile,
;; and so they don't appear as dependencies of the
;; modules in this package but they are still needed
"cover"
"cover-coveralls"))
(define build-deps '())
(define build-deps '("vlibench"
"scribble-lib"
"scribble-math"
"srfi-lite-lib"))
(define module-suffixes '(#"scrbl"))
(define clean '("compiled" "private/compiled"))
(define pkg-authors '(countvajhula))

0 comments on commit ffc767e

Please sign in to comment.