nix-module-wrapper-manager-fds/Makefile

29 lines
707 B
Makefile
Raw Normal View History

BASEURL := "https://foo-dogsquared.github.io/nix-module-wrapper-manager-fds"
.PHONY: docs-serve
docs-serve:
hugo -s docs/website serve
.PHONY: docs-build
docs-build:
hugo -s docs/website
2024-11-10 05:18:25 +00:00
.PHONY: build
build:
{ command -v nix >/dev/null && nix build -f docs/ --argstr baseUrl $(BASEURL) website; } || { nix-build docs/ -A website --argstr baseUrl $(BASEURL); }
2024-11-10 05:18:25 +00:00
2024-11-10 05:16:41 +00:00
.PHONY: check
check:
{ command -v nix > /dev/null && nix flake check; } || { nix-build tests -A configs -A lib; }
# Ideally, this should be done only in the remote CI environment with a certain
# update cadence/rhythm.
.PHONY: update
update:
npins update
2024-07-19 05:50:41 +00:00
# Ideally this should be done before committing.
.PHONY: format
format:
treefmt