Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ den.oeiuwq.com
configurations den dendritic nix aspect oriented
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

improve justfile recipes

+13 -1
+13 -1
Justfile
··· 1 + system := `nix-instantiate --eval --raw -E builtins.currentSystem` 2 + 1 3 help: 2 4 just -l 3 5 ··· 20 22 just nix-unit bogus "" 21 23 22 24 nix-unit template test: 23 - nix-unit --override-input den . --flake ./templates/{{template}}#.tests.systems.x86_64-linux.system-agnostic.{{test}} 25 + nix-unit --override-input den . --flake ./templates/{{template}}#.tests.systems.{{system}}.system-agnostic.{{test}} 24 26 25 27 check template: 26 28 nix flake check --override-input den . ./templates/{{template}} ··· 41 43 42 44 unit: 43 45 nix flake check --override-input target . github:vic/checkmate 46 + 47 + [arg("tmpdir",long="tmpdir"), arg("head",long="head",short="h"), arg("base",long="base",short="b"), arg("warm",long="warm",short="w"), arg("runs",long="runs",short="r")] 48 + bench tmpdir="/tmp" head="HEAD" base="refs/remotes/origin/main" warm="10" runs="20": 49 + rm -rf "{{tmpdir}}/den-head" "{{tmpdir}}/den-base" 50 + git clone --local --depth 1 --revision "$(git rev-list -n1 {{head}})" .git "{{tmpdir}}/den-head" 2>/dev/null 51 + git clone --local --depth 1 --revision "$(git rev-list -n1 {{base}})" .git "{{tmpdir}}/den-base" 2>/dev/null 52 + hyperfine -m "{{runs}}" -w "{{warm}}" --show-output \ 53 + -n head "cd {{tmpdir}}/den-head && nix-shell ./shell.nix --run 'just ci'" \ 54 + -n base "cd {{tmpdir}}/den-base && nix-shell ./shell.nix --run 'just ci'" 55 + rm -rf "{{tmpdir}}/den-head" "{{tmpdir}}/den-base"