nixos-configs/justfile
matt1432 43a82bd9ba
All checks were successful
Discord / discord commits (push) Has been skipped
feat(mc-mods): add to justfile
2025-02-25 01:24:19 -05:00

28 lines
629 B
Makefile

default:
@just --list
docs:
nix run "$FLAKE"#gen-docs
genflake:
#!/usr/bin/env bash
# Get changes from inputs/default.nix
nix run "$FLAKE"#genflake "$FLAKE"/flake.nix &&
# Evaluate `follows` from new flake.lock
nix run "$FLAKE"#genflake "$FLAKE"/flake.nix &&
# Make sure everything is right
nix run "$FLAKE"#genflake "$FLAKE"/flake.nix
alejandra -q "$FLAKE"/flake.nix
[positional-arguments]
mc-mods version action='check':
nix run "$FLAKE"#mc-mods -- "$@"
[positional-arguments]
pin args:
nix run "$FLAKE"#pin-inputs -- "$@"
[positional-arguments]
up args:
nix run "$FLAKE"#update-sources -- "$@"