fix names
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Must match package name in Cargo.toml
|
||||
PLUGIN_NAME=example_rust
|
||||
# `target` or `debug`
|
||||
TYPE=target
|
||||
# `release` or `debug`
|
||||
TYPE=release
|
||||
|
||||
build: $(PLUGIN_DIR)/$(PLUGIN_NAME).dim
|
||||
|
||||
$(PLUGIN_DIR)/$(PLUGIN_NAME).dim: $(OBJECT_DIR)/$(PLUGIN_NAME)/$(TYPE)/lib$(PLUGIN_NAME).so
|
||||
|
||||
@@ -3,7 +3,7 @@ use dim_sdk::{plugin_info, DimPlugin};
|
||||
|
||||
plugin_info!(
|
||||
Plug, // Your main global structs name that implements `DimPlugin`
|
||||
"Example rust project", // Plugin name
|
||||
"example_rust", // Plugin name
|
||||
"0.0.0", // Plugin Version (leave empty for none)
|
||||
"GPLv3" // Plugin license (leave empty for none)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user