Skip to content

Commit 29f1d3a

Browse files
Deployed to github pages
1 parent 148c23d commit 29f1d3a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

all-hooks.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2471,6 +2471,17 @@
24712471
"text"
24722472
]
24732473
},
2474+
{
2475+
"id": "format-xml-plist",
2476+
"name": "Auto-format plist [XML]",
2477+
"description": "Auto-format a Property List (plist) as XML.",
2478+
"entry": "plutil -convert xml1",
2479+
"language": "system",
2480+
"files": "\\.(mobileconfig|pkginfo|plist|recipe)$",
2481+
"types": [
2482+
"text"
2483+
]
2484+
},
24742485
{
24752486
"id": "munki-makecatalogs",
24762487
"name": "Run Munki Makecatalogs",

hooks.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,6 +1538,10 @@ <h3 data-repo="https://github.com/homebysix/pre-commit-macadmin">
15381538
<code>forbid-autopkg-trust-info</code>
15391539
- This hook prevents AutoPkg recipes with trust info from being added to the repo.
15401540
</li>
1541+
<li data-id="format-xml-plist" data-types="text">
1542+
<code>format-xml-plist</code>
1543+
- Auto-format a Property List (plist) as XML.
1544+
</li>
15411545
<li data-id="munki-makecatalogs" data-types="">
15421546
<code>munki-makecatalogs</code>
15431547
- This hook runs the &#34;makecatalogs&#34; command to ensure all referenced packages are present and catalogs are up to date.

0 commit comments

Comments
 (0)