Files
dotfiles/Makefile

25 lines
582 B
Makefile
Raw Permalink Normal View History

2025-10-10 23:26:44 +02:00
# Make sure to standardize locale, regardless of the machine config
#
# Having a different locale broke "yes | pacman -S" to force-install
# iptables, for example
export LC_ALL = en_US.UTF-8
ansible_run = ansible-playbook --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
2017-09-02 19:48:01 +02:00
2022-05-02 20:16:22 +02:00
.PHONY: config
2022-07-01 20:03:36 +02:00
config:
2025-09-22 11:05:24 +02:00
$(ansible_run)
2025-10-02 09:39:16 +02:00
.PHONY: maintenance
maintenance:
./maintenance.sh
2018-02-05 20:14:02 +01:00
2020-12-08 23:41:35 +01:00
.PHONY: test
test:
./test-in-docker.sh
2024-11-10 16:08:21 +01:00
.PHONY: fmt
fmt:
git ls-files -z '*.md' | xargs -0 prettier --print-width 80 --prose-wrap always --write
git ls-files -z '*.toml' | xargs -0 taplo format