summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-05-24 11:18:38 +0200
committerxengineering <me@xengineering.eu>2025-05-24 11:18:38 +0200
commitcaf416218623d6778b3d0c2fe12ee08135c2d126 (patch)
treeed255392f80eb2c692d585d86a78c1ac971db966 /README.md
parentb1838d1c5b6bd27757d50d784543ea0ae16c1769 (diff)
downloadiot-contact-caf416218623d6778b3d0c2fe12ee08135c2d126.tar
iot-contact-caf416218623d6778b3d0c2fe12ee08135c2d126.tar.zst
iot-contact-caf416218623d6778b3d0c2fe12ee08135c2d126.zip
Remove installation step
Using the installation step to copy selected artifacts into one folder was anyway a hack. This commit shows that the complexity can be reduced by adding copy targets. The `build/artifacts` folder contains the selected artifacts, they are always up to date, the user does not have to call the install step separately and the target definitions do not require install-related keyword arguments.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3d81e83..a6dfe0a 100644
--- a/README.md
+++ b/README.md
@@ -25,19 +25,17 @@ The project is built with the Meson build system.
```
meson setup build
-cd build
-ninja
-meson install --destdir artifacts
+ninja -C build
```
The resulting artifacts can be listed with `tree`.
```
-tree artifacts
+tree build/artifacts
```
These artifacts are organized as static website. It can be opened with Firefox.
```
-firefox artifacts/index.html
+firefox build/artifacts/index.html
```