diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-03-05 16:16:57 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-03-05 16:16:57 -0500 |
commit | 0a36ee5f441260f13beda17eb5482e6bd0f9eb8c (patch) | |
tree | f3bb6a3ae6cb60b6d8b1e53ec8bf8a59d12aa0be /Makefile | |
parent | 9739d754e72d82248c93e7d54d9b7f0cac669c28 (diff) | |
download | nbsh-0a36ee5f441260f13beda17eb5482e6bd0f9eb8c.tar.gz nbsh-0a36ee5f441260f13beda17eb5482e6bd0f9eb8c.zip |
add tokio-console support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f5641f2 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +build: + cargo build +.PHONY: build + +run: + cargo run +.PHONY: run + +console: + RUSTFLAGS="--cfg tokio_unstable --cfg nbsh_tokio_console" cargo run +.PHONY: console + +release: + cargo build --release +.PHONY: release + +run-release: + cargo run --release +.PHONY: run-release + +console-release: + RUSTFLAGS="--cfg tokio_unstable --cfg nbsh_tokio_console" cargo run --release +.PHONY: console-release |