Install cargo-exec first before building.
cargo install cargo-exec
then
cargo exec build
cargo exec publish
cargo exec example