parse world events at compile time
This commit is contained in:
1 parent
03cb80b216
commit
308c125a20
5 files changed
+43
-2
No files matched your search
@@ -14,6 +14,7 @@ mod scoreboard_slot;
|
||||
mod screen;
|
||||
mod sound;
|
||||
mod sound_category;
|
||||
mod world_event;
|
||||
|
||||
pub fn main() {
|
||||
write_generated_file(packet::build(), "packet.rs");
|
||||
@@ -25,6 +26,7 @@ pub fn main() {
|
||||
write_generated_file(sound_category::build(), "sound_category.rs");
|
||||
write_generated_file(entity_pose::build(), "entity_pose.rs");
|
||||
write_generated_file(scoreboard_slot::build(), "scoreboard_slot.rs");
|
||||
write_generated_file(world_event::build(), "world_event.rs");
|
||||
}
|
||||
|
||||
pub fn array_to_tokenstream(array: Vec<String>) -> TokenStream {
|
||||
|
||||
Reference in new issue
Block a user