diff options
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 |