2024-11-11 10:48:54 +00:00
|
|
|
BASEURL := "https://foo-dogsquared.github.io/nix-module-wrapper-manager-fds"
|
|
|
|
|
2024-07-16 10:48:52 +00:00
|
|
|
.PHONY: docs-serve
|
|
|
|
docs-serve:
|
2024-07-21 12:22:02 +00:00
|
|
|
hugo -s docs/website serve
|
2024-07-16 10:48:52 +00:00
|
|
|
|
|
|
|
.PHONY: docs-build
|
|
|
|
docs-build:
|
2024-07-21 12:22:02 +00:00
|
|
|
hugo -s docs/website
|
2024-07-16 10:48:52 +00:00
|
|
|
|
2024-11-10 05:18:25 +00:00
|
|
|
.PHONY: build
|
|
|
|
build:
|
2024-11-11 10:48:54 +00:00
|
|
|
{ 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; }
|
|
|
|
|
2024-07-16 10:48:52 +00:00
|
|
|
# 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
|