Tup: unify protocols group

This commit is contained in:
Emery Hemingway 2022-12-11 20:16:02 -06:00
parent a43a723bb1
commit 1234f97f20
3 changed files with 3 additions and 2 deletions

1
Tuprules.tup Normal file
View File

@ -0,0 +1 @@
PROTOCOLS = $(TUP_CWD)/<protocols>

View File

@ -17,6 +17,6 @@ modules += worker.nim
: ../../../../syndicate-protocols/schema-bundle.bin \
|> !preserves_schema_nim \
|> $(modules) | ../../../<protocols> {generated}
|> $(modules) | $(PROTOCOLS) {generated}
: foreach {generated} | {generated} |> !nim_run |>

View File

@ -1,2 +1,2 @@
include_rules
: test_simpleChatProtocol.nim | ../<protocols> |> !nim_run |>
: test_simpleChatProtocol.nim | $(PROTOCOLS) |> !nim_run |>