You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If project name was generate with - like my-token, then in Cargo.toml it hash:
[[bin]]
name = "my_token_build_schema"
path = "bin/build_schema.rs"
test = false
And this is what happens:
$ cargo odra schema
💁 INFO : Generating schema files...
error: no bin target named `my-token_build_schema`
Did you mean `my_token_build_schema`?
🤦 ERROR : Command Couldn't run cargo with args ["run", "--bin", "my-token_build_schema", "--release"] failed.
It should change - to _ when creating bin name.
The text was updated successfully, but these errors were encountered:
If project name was generate with
-
likemy-token
, then inCargo.toml
it hash:And this is what happens:
It should change
-
to_
when creating bin name.The text was updated successfully, but these errors were encountered: