Commit 9596dbe4 authored by Florian Blasius's avatar Florian Blasius 🤘

Finish calculator.

parent 2bc39f61
Pipeline #6663 failed with stages
in 11 minutes and 26 seconds
This diff is collapsed.
......@@ -5,5 +5,6 @@ authors = ["Florian Blasius <flovanpt@posteo.de>"]
edition = "2018"
[dependencies]
calculate = { git = "https://gitlab.redox-os.org/redox-os/calc.git" }
lazy_static = "1.4.0"
orbtk = { git = "https://gitlab.redox-os.org/redox-os/orbtk.git" }
\ No newline at end of file
orbtk = { git = "https://github.com/redox-os/orbtk.git", branch = "develop" }
\ No newline at end of file
[[apps]]
name = "calculator"
width = 212
height = 360
\ No newline at end of file
......@@ -3,7 +3,7 @@
[![Build status](https://gitlab.redox-os.org/redox-os/orbcalculator/badges/master/build.svg)](https://gitlab.redox-os.org/redox-os/orbcalculator/pipelines)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
Calculator written in rust, developed with OrbTk https://gitlab.redox-os.org/redox-os/orbtk".
Calculator written in rust, developed with OrbTk https://github.com/redox-os/orbtk.git".
<img alt="Redox" height="300" src="https://gitlab.redox-os.org/redox-os/assets/raw/master/screenshots/Calculator.png">
......@@ -27,40 +27,6 @@ You can start the calculator by executing the following command:
cargo run --release
```
## Run with cargo-node
To run the calculator on as browser, electron or cordova app you have to install
```text
cargo install -f cargo-node
```
Before you could use cargo node you have to install `npm` version 6.9.0. It is included in the `Node.js` version 10.16.3. You could download it from https://nodejs.org/dist/v10.16.3/.
Rust's `cargo` is presumed. All other dependencies of cargo node will be installed automatic.
### Start
You can start the widgets example by executing the following command:
* Run as browser app:
```text
cargo node run --target browser
```
* Run as electron app:
```text
cargo node run --target electron
```
* Run as cordova app on android:
```text
cargo node run --target android
```
## License
Licensed under MIT license ([LICENSE](LICENSE)).
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment