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"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
author = ["artegoser"]
|
||||
authors = ["artegoser"]
|
||||
license = "MIT"
|
||||
description = "A programming language running on json or yaml"
|
||||
repository = "https://github.com/artegoser/ONLang"
|
||||
|
|
11
README.md
11
README.md
|
@ -16,16 +16,19 @@ For writing simple scripts.
|
|||
|
||||
[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
|
||||
|
||||
1. Add the executable file to the path variable
|
||||
2. `onla example/example.json5`
|
||||
`onla examples/example.json5`
|
||||
|
||||
or
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue