Add Tupfile for generating protocol code
This commit is contained in:
parent
fbf48c441e
commit
a23935b3c5
|
@ -0,0 +1,2 @@
|
|||
type Cap* = object
|
||||
discard
|
|
@ -0,0 +1,5 @@
|
|||
PRESERVES_SRC_DIR = ../../../../preserves/src
|
||||
|
||||
: $(PRESERVES_SRC_DIR)/preserves/private/preserves_schema_nim.nim |> nim c -o:%o %f |> preserves_schema_nim
|
||||
|
||||
: foreach *.prs | preserves_schema_nim |> ./preserves_schema_nim %f; nim check --path:$(PRESERVES_SRC_DIR) %o |> %B.nim {gen}
|
Loading…
Reference in New Issue