Skip to content

Commit

Permalink
Use xmllint instead of xmlstarlet
Browse files Browse the repository at this point in the history
Closes: #593
Signed-off-by: Florian Schmaus <[email protected]>
Suggested-by: Robin H. Johnson <[email protected]>
  • Loading branch information
Flowdalic committed Mar 23, 2023
1 parent a6bcc35 commit 2e1d497
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install libxml2-utils xmlstarlet
sudo apt install libxml2-utils
- uses: actions/setup-python@v4
with:
python-version: '3.x'
Expand Down
2 changes: 1 addition & 1 deletion files/mirrors/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.%.expected-format.xml: %.xml
xmlstarlet fo --encode utf-8 $^ > $@
xmllint --format $^ > $@

.ONESHELL:
.%.expected-format.xml.ok: SHELL = /bin/bash
Expand Down
2 changes: 1 addition & 1 deletion files/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ format: .repositories-expected-format.xml
cmp -s repositories.xml $^ || cp $^ repositories.xml

.repositories-expected-format.xml: repositories.xml
xmlstarlet fo $^ > $@
xmllint --format $^ > $@

.ONESHELL:
.repositories-style-ok: SHELL = /bin/bash
Expand Down

0 comments on commit 2e1d497

Please sign in to comment.