Expanded installation instructions to include cargo install.

This commit is contained in:
PaddiM8 2020-06-12 00:41:18 +02:00
parent 8b16e3cbd4
commit 2e2c068593
3 changed files with 12 additions and 7 deletions

View File

@ -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`

2
kalk_cli/Cargo.lock generated
View File

@ -150,7 +150,7 @@ dependencies = [
[[package]]
name = "kalk_cli"
version = "0.1.2"
version = "0.1.3"
dependencies = [
"ansi_term",
"kalk",

View File

@ -1,6 +1,6 @@
[package]
name = "kalk_cli"
version = "0.1.2"
version = "0.1.3"
authors = ["PaddiM8"]
edition = "2018"
readme = "../README.md"