mirror of
https://github.com/artegoser/ONLang
synced 2024-11-06 04:53:57 +03:00
doc: add installation from cargo
This commit is contained in:
parent
93bdc94c32
commit
8b154e88fb
2 changed files with 8 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
name = "onla"
|
name = "onla"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
author = ["artegoser"]
|
authors = ["artegoser"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
description = "A programming language running on json or yaml"
|
description = "A programming language running on json or yaml"
|
||||||
repository = "https://github.com/artegoser/ONLang"
|
repository = "https://github.com/artegoser/ONLang"
|
||||||
|
|
11
README.md
11
README.md
|
@ -16,16 +16,19 @@ For writing simple scripts.
|
||||||
|
|
||||||
[Documentation](doc/main.md)
|
[Documentation](doc/main.md)
|
||||||
|
|
||||||
## Installing
|
## Installation
|
||||||
|
|
||||||
|
`cargo install onla`
|
||||||
|
or
|
||||||
|
Get binary from [releases](https://github.com/artegoser/ONLang/releases) and add the executable file to the PATH variable
|
||||||
|
|
||||||
## Using
|
## Using
|
||||||
|
|
||||||
1. Add the executable file to the path variable
|
`onla examples/example.json5`
|
||||||
2. `onla example/example.json5`
|
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
1. Clone this repo
|
1. Clone this repo
|
||||||
2. `cargo run --quiet --release -- example/example.json5`
|
2. `cargo run --quiet --release -- examples/example.json5`
|
||||||
|
|
||||||
If you want to help create a pull request
|
If you want to help create a pull request
|
||||||
|
|
Loading…
Reference in a new issue