aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-07 17:38:05 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-07 17:38:05 +0200
commitce4e16a1694a38cb75b7b3309deaa80507156aa0 (patch)
treee7d6f13261f7359b2b0f053784c0008d81f89d13
parent30bfe4dc801fdfd3ab8d7a5e36bba67eee70d33b (diff)
downloadhurrycurry-ce4e16a1694a38cb75b7b3309deaa80507156aa0.tar
hurrycurry-ce4e16a1694a38cb75b7b3309deaa80507156aa0.tar.bz2
hurrycurry-ce4e16a1694a38cb75b7b3309deaa80507156aa0.tar.zst
rename diagram node style variants
-rw-r--r--server/protocol/src/book.rs1
-rw-r--r--test-client/makefile2
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