justfile: clean build and outputs contents, not directories

This makes it easier to build lix on a different file system from the
source repo, e.g. symlinking ./build to a directory in /tmp.

The ./outputs directory is included for completeness as another
significant source of generated artifacts.

Change-Id: I1bb4c21c700beacb4882a1be473dd31353edd177
This commit is contained in:
Qyriad
2026-05-23 21:14:53 +02:00
parent e5ca862ea9
commit 839ae964fb
+2 -2
View File
@@ -10,9 +10,9 @@ builddir := "build"
list:
just --list
# Clean build artifacts
# Clean build artifacts and outputs.
clean:
rm -rf {{ builddir }}
rm -rf {{ quote(builddir) }}/* {{ quote(builddir) }}/.* {{ quote(outdir) }}/* {{ quote(outdir) }}/.*
# Prepare meson for building.
setup *OPTIONS: