html-tidy.org (#1731)

* new file:   projects/html-tidy.org/package.yml

* simplify

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
Andrew 2023-04-29 00:49:14 +03:00 committed by GitHub
parent 887ee7c0b1
commit 3e904a73f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
distributable:
url: https://github.com/htacg/tidy-html5/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: htacg/tidy-html5
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
cmake.org: '*'
working-directory: build/cmake
script: |
cmake --install-prefix={{prefix}} ../..
make --jobs {{ hw.concurrency }} install
provides:
- bin/tidy
test: tidy --version | grep {{version}}