Move syndicate-protocols inside the syndicate package, so that the package-builder can see it
This commit is contained in:
parent
a176b22bf7
commit
004bcbc5a8
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ testonly:
|
||||||
raco test -p $(PACKAGES)
|
raco test -p $(PACKAGES)
|
||||||
|
|
||||||
pull-protocols:
|
pull-protocols:
|
||||||
git subtree pull -P protocols \
|
git subtree pull -P syndicate/private/protocols \
|
||||||
-m 'Merge latest changes from the syndicate-protocols repository' \
|
-m 'Merge latest changes from the syndicate-protocols repository' \
|
||||||
git@git.syndicate-lang.org:syndicate-lang/syndicate-protocols \
|
git@git.syndicate-lang.org:syndicate-lang/syndicate-protocols \
|
||||||
main
|
main
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
(define output-directory (build-path syndicate-path "schemas"))
|
(define output-directory (build-path syndicate-path "schemas"))
|
||||||
(delete-directory/files output-directory #:must-exist? #f)
|
(delete-directory/files output-directory #:must-exist? #f)
|
||||||
(parameterize ((schema-compiler-plugin-mode 'meta))
|
(parameterize ((schema-compiler-plugin-mode 'meta))
|
||||||
(batch-compile #:inputs (list (build-path syndicate-path "../protocols/schemas/**.prs"))
|
(batch-compile #:inputs (list (build-path syndicate-path "private/protocols/schemas/**.prs"))
|
||||||
#:additional-modules (hash '(EntityRef) 'syndicate/entity-ref)
|
#:additional-modules (hash '(EntityRef) 'syndicate/entity-ref)
|
||||||
#:output-directory output-directory
|
#:output-directory output-directory
|
||||||
#:plugins (list schema-compiler-plugin))))
|
#:plugins (list schema-compiler-plugin))))
|
||||||
|
|
Loading…
Reference in New Issue