Skip to content

Commit

Permalink
Move examples to /examples and adjust Cargo.toml accordingly (#28)
Browse files Browse the repository at this point in the history
* moving examples to /examples directory and adjusting cargo.toml so that they can be ran with --example

* addressing suggested changes

---------

Co-authored-by: Jakub Vondra <jakubvondra@pop-os.localdomain>
  • Loading branch information
kubo-von and Jakub Vondra authored Dec 5, 2023
1 parent c734aa2 commit 220a075
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 35 deletions.
9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ half = "2"
memmap2 = "0.5"
thiserror = "1.0.7"

[workspace]
members = [
"apps/schema-parsing",
"apps/print-tree",
"apps/curves-test-vis",
]
[dev-dependencies]
glam = "0.21"
minifb = "0.25"
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,16 @@ Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.

### Examples
Examples are located in the `/examples` directory and can be run by:

```bash
cargo run --example curves-test-vis /path/to/file.abc
```
```bash
cargo run --example print-tree /path/to/file.abc
```
```bash
cargo run --example schema-parsing /path/to/file.abc
```
11 changes: 0 additions & 11 deletions apps/curves-test-vis/Cargo.toml

This file was deleted.

9 changes: 0 additions & 9 deletions apps/print-tree/Cargo.toml

This file was deleted.

9 changes: 0 additions & 9 deletions apps/schema-parsing/Cargo.toml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 220a075

Please sign in to comment.