Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions mkn.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#! clean build -dtOa "-std=c++20 -fPIC" -p iwyu

name: cpp.iwyu
property:
# dependency versions: master on master (not the default branch: mkn.mod's and parse.yaml's is
# the rolling latest, whose mkn.kul differs from a master project's)
mkn.mod.version: master
version: master

parent: base
Expand All @@ -9,18 +13,18 @@ mode: shared

profile:
- name: base
dep: mkn.mod
dep: mkn.mod#${mkn.mod.version}
if_arg:
shared: -DMKN_KUL_SHARED

- name: format
mod: |
clang.format{init{style: file, paths: .}}
clang.format#master{init{style: file, paths: .}}

# runs iwyu over this module's own source and applies its suggestions
- name: iwyu
parent: base
src: mod.cpp
# inline form, the list form resolves the module from the default branch in CI
mod: |
cpp.iwyu{compile{fix: --nocomments --nosafe_headers, system_last: true}}
cpp.iwyu#master{compile{fix: --nocomments --nosafe_headers, system_last: true}}