0.0.0 • Published 3 years ago
nxnear v0.0.0
@digitalnative/cosmwasm
This is a WIP plugin for @nrwl/nx adding support for Rust applications and libraries.
Generators
# @digitalnative/cosmwasm:bin also works
> nx generate @digitalnative/cosmwasm:app my-rust-app> nx generate @digitalnative/cosmwasm:lib my-rust-libExecutors
# Build a library or binary
> nx build my-rust-app
# Run unit tests in a library
> nx test my-rust-lib
# Check a Rust project with `clippy`
> nx lint my-rust-app
# Don't fail on warnings:
> nx lint my-rust-app --fail-on-warnings falseOptions
The executors accept most of the same CLI args as the corresponding cargo commands. When in doubt, run with the --help flag to see all options with descriptions:
> nx build my-rust-app --help0.0.0
3 years ago