From 3d67347f2a4fd4baf5a2aaddd0b50d1ba4e66ab5 Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Fri, 12 Jun 2020 00:41:18 +0200 Subject: [PATCH] Expanded installation instructions to include cargo install. --- README.md | 15 ++++++++++----- kalk_cli/Cargo.lock | 2 +- kalk_cli/Cargo.toml | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6167aa6..cd10aff 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,13 @@ Kalk is a calculator (both program and library) that supports user-defined varia * Syntax highlighting * Special-symbol completion on tab. Eg. write `sqrt` and press tab. It will be turned into `√`. -## Compiling -1. Make sure you have `diffutils` `gcc` `make` and `m4` installed. -2. Go into the `kalk_cli` directory. -3. Run `cargo build --release` -4. Grab the binary from `targets/release` +## Installing +Make sure you have `diffutils` `gcc` `make` and `m4` installed. + +### Cargo install +Run `cargo install kalk_cli` + +### Compiling yourself +1. Go into the `kalk_cli` directory. +2. Run `cargo build --release` +3. Grab the binary from `targets/release` diff --git a/kalk_cli/Cargo.lock b/kalk_cli/Cargo.lock index 5ac96a9..47b46b9 100644 --- a/kalk_cli/Cargo.lock +++ b/kalk_cli/Cargo.lock @@ -150,7 +150,7 @@ dependencies = [ [[package]] name = "kalk_cli" -version = "0.1.2" +version = "0.1.3" dependencies = [ "ansi_term", "kalk", diff --git a/kalk_cli/Cargo.toml b/kalk_cli/Cargo.toml index 8e0d6ff..fdff177 100644 --- a/kalk_cli/Cargo.toml +++ b/kalk_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kalk_cli" -version = "0.1.2" +version = "0.1.3" authors = ["PaddiM8"] edition = "2018" readme = "../README.md"