mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
Makefile lint integration: * scripts/install/lint.sh: replace the prior checkmake binary install with ensure_mbake (mbake is pip-installable, parses our Makefile correctly whereas checkmake bailed on .ONESHELL: / .SHELLFLAGS: / ifneq). * scripts/lint/makefile.sh: new runner — `mbake format --check Makefile` reports formatting drift and missing .PHONY declarations. * scripts/lint/autoformat.sh: add a two-pass `mbake format Makefile` (mbake's formatter is not strictly idempotent on the first pass). * Makefile: split the multi-line `.PHONY:` block into 18 single-line `.PHONY:` declarations so mbake's parser can validate it; add the previously-missing `install-python-dev` and `build-dependency` PHONY targets; add `lint-makefile` aggregate-and-direct target. * .pre-commit-config.yaml: new make-lint-makefile hook scoped to `^Makefile$`. * .github/workflows/lint-makefile.yml: new CI workflow (pip-install mbake + make lint-makefile). * .github/workflows/ci-orchestrator.yml: wire lint-makefile into lint-gate.needs. Misc: * .gitignore: add roles/importer_result.json (tooling artefact written by galaxy-importer when it runs in roles/). Plus working-tree drift across roles/, group_vars/, inventories/, and tasks/ that accumulated from the make-test setup phase regenerating generated artefacts during recent test runs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
23 lines
499 B
YAML
23 lines
499 B
YAML
---
|
|
- name: Ensure ~/.bash_profile sources ~/.profile
|
|
lineinfile:
|
|
path: "$HOME/.bash_profile"
|
|
line: "[ -f ~/.profile ] && . ~/.profile"
|
|
insertafter: EOF
|
|
state: present
|
|
create: true
|
|
mode: "0644"
|
|
become: false
|
|
|
|
- name: Ensure ~/.zprofile sources ~/.profile
|
|
lineinfile:
|
|
path: "$HOME/.zprofile"
|
|
line: "[ -f ~/.profile ] && . ~/.profile"
|
|
insertafter: EOF
|
|
state: present
|
|
create: true
|
|
mode: "0644"
|
|
become: false
|
|
|
|
- include_tasks: utils/once/flag.yml
|