From e4acd03c02a8c035b89eabed4c97117945efb16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 26 Jul 2024 12:42:13 +0200 Subject: [PATCH] docs: Simplify fenv instructions --- CONTRIBUTING.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f953c6c0..5044970f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,27 +72,23 @@ cargo install --git https://gitlab.gnome.org/ZanderBrown/fenv fenv After that, setup the project: ```sh -# Setup the flatpak environment +# Set up the flatpak environment fenv gen build-aux/org.gnome.Fractal.Devel.json - -# Initialize the build system -fenv exec -- meson setup -Dprofile=development --prefix=/app _build ``` Finally, build and run the application: ```sh # Build the project -fenv exec -- ninja -C _build - -# Install the application in the flatpak environment -fenv exec -- ninja -C _build install +fenv build # Launch Fractal -fenv exec ./_build/src/fractal +fenv run ``` -To test changes you make to the code, re-run these three last commands. +_Note that fenv will use `_build` as build directory._ + +To test changes you make to the code, re-run these two last commands. ### Install the flatpak