diff options
| -rw-r--r-- | server/protocol/src/book.rs | 1 | ||||
| -rw-r--r-- | test-client/makefile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/protocol/src/book.rs b/server/protocol/src/book.rs index 87b7e4fc..ba432890 100644 --- a/server/protocol/src/book.rs +++ b/server/protocol/src/book.rs @@ -58,6 +58,7 @@ pub struct DiagramNode { } #[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename_all = "snake_case")] pub enum NodeStyle { IntermediateProduct, FinalProduct, diff --git a/test-client/makefile b/test-client/makefile index bfc80a23..a594a0fc 100644 --- a/test-client/makefile +++ b/test-client/makefile @@ -25,7 +25,7 @@ main.js: main.ts $(wildcard *.ts) LT = ../target/release/localetool -$(LT): $(shell find ../locale/tools -type f) +$(LT): $(shell find ../server/locale-export -type f) { cd ..; cargo $(CARGOFLAGS) build --release --bin localetool; } # include ../book/locale/%.ini when it works again |