add cmake-format
This commit is contained in:
17
tasks/config/cmake-format.yml
Normal file
17
tasks/config/cmake-format.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# vim: set filetype=yaml.ansible :
|
||||||
|
---
|
||||||
|
- name: Add cmake-format
|
||||||
|
when:
|
||||||
|
- cmake-format_configured is undefined
|
||||||
|
block:
|
||||||
|
- name: Load cmake-format configuration
|
||||||
|
ansible.builtin.include_tasks:
|
||||||
|
file: config/cmake-format.yml
|
||||||
|
|
||||||
|
- name: Append cmake-format to pkg_sys
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
pkg_sys: "{{ pkg_sys + cmake-format.pkgs }}"
|
||||||
|
|
||||||
|
- name: Set cmake-format_configured
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
cmake-format_configured: true
|
||||||
6
tasks/pkgs/cmake-format.yml
Normal file
6
tasks/pkgs/cmake-format.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# vim: set filetype=yaml.ansible :
|
||||||
|
---
|
||||||
|
- name: Set cmake-format config
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
cmake-format:
|
||||||
|
pkgs: "{{ pkgconfig.cmake-format.pkgs }}"
|
||||||
5
vars/pkgs/cmake-format.yml
Normal file
5
vars/pkgs/cmake-format.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# vim: set filetype=yaml.ansible :
|
||||||
|
---
|
||||||
|
cmake-format:
|
||||||
|
pkgs:
|
||||||
|
- cmake-format
|
||||||
Reference in New Issue
Block a user