Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/flathub/shared-modules.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOro <93224879+orowith2os@users.noreply.github.com>2022-09-17 16:24:23 +0300
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2022-09-17 17:30:58 +0300
commitc6f7fa33d05875f9068f0f95714e2a7bbec6a426 (patch)
tree22ee234a8258bda82838f83c7d095292fe05dc6f
parent7ead2408c6a9f652e4d7ddfcbb7b8eeaccedf047 (diff)
Include a YAML example for the shared-modules, small grammar change
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index cde4707..32decb9 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ To use shared modules for packaging an application, add the submodule:
git submodule add https://github.com/flathub/shared-modules.git
```
-Then modules from this repository can be specified in a manifest JSON file like this:
+Then modules from this repository can be specified in a JSON manifest file like this:
```json
"modules": [
@@ -16,6 +16,14 @@ Then modules from this repository can be specified in a manifest JSON file like
}
]
```
+And for a YAML manifest:
+```YAML
+modules:
+ - shared-modules/SDL/SDL-1.2.15.json
+
+ - name: foo
+```
+
To update the submodule: