kludge: copying the resource structure, because for some reason, something bad is happening with regards to dynamic-require-for-syntax.
This commit is contained in:
parent
d5c842c7fe
commit
e6547a9aa2
|
@ -99,7 +99,7 @@
|
|||
(source-resources
|
||||
(MainModuleSource-source src))]
|
||||
[(ModuleSource? src)
|
||||
empty #;(resource-query:query
|
||||
(resource-query:query
|
||||
`(file ,(path->string (ModuleSource-path src))))]
|
||||
[(SexpSource? src)
|
||||
empty]
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
#lang racket/base
|
||||
(require racket/port
|
||||
"structs.rkt")
|
||||
(require racket/port)
|
||||
|
||||
(provide record-resource
|
||||
get-records)
|
||||
|
||||
|
||||
;; Needs to be prefabricated
|
||||
(struct resource (path key) #:prefab)
|
||||
|
||||
|
||||
(define records '())
|
||||
|
||||
(define (get-records)
|
||||
|
|
Loading…
Reference in New Issue
Block a user