From f4d8d778fea12249b26ebb685c0138d0ff79cb45 Mon Sep 17 00:00:00 2001 From: Eduardo Flores Date: Tue, 23 Nov 2021 11:09:36 -0700 Subject: [PATCH] Add examples to Cargo.toml and README.md This commit includes [[examples]] in Cargo.toml and a more descriptive README.md --- Cargo.toml | 3 +++ README.md | 14 +++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0bcdd55d..75182ce4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,3 +13,6 @@ x11 = { version = "2", features = ["xlib"] } # examples/launcher pop-launcher = "1.0.3" serde_json = "1.0.70" + +[[example]] +name = "launcher" # examples/launcher/main.rs \ No newline at end of file diff --git a/README.md b/README.md index 88a2bb4b..9bfe8327 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # libcosmic -WIP + +A framework to develop COSMIC applications. + +## Examples + +Run the following command to execute the examples: + +### Launcher +```shell +$ cargo run --example launcher +``` + +**WIP** \ No newline at end of file