Skip to content

Commit

Permalink
make: fix potential issues with --gen-json-emit
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Dec 14, 2023
1 parent 3f1c648 commit 56dff91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ bindings/c/%_json_parser.h: schemas/%.fbs bindings/c/.dir
bindings-rust: bindings/rust/ndb_profile.rs bindings/rust/ndb_meta.rs

bindings/rust/ndb_profile.rs: schemas/profile.fbs bindings/rust
flatc --gen-json-emit --rust $<
flatc --rust --gen-json-emit $<
@mv profile_generated.rs $@

bindings/rust/ndb_meta.rs: schemas/meta.fbs bindings/swift
Expand All @@ -83,7 +83,7 @@ bindings/rust/ndb_meta.rs: schemas/meta.fbs bindings/swift
bindings-swift: bindings/swift/NdbProfile.swift bindings/swift/NdbMeta.swift

bindings/swift/NdbProfile.swift: schemas/profile.fbs bindings/swift
flatc --gen-json-emit --swift $<
flatc --swift --gen-json-emit $<
@mv profile_generated.swift $@

bindings/swift/NdbMeta.swift: schemas/meta.fbs bindings/swift
Expand Down

0 comments on commit 56dff91

Please sign in to comment.