mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+github.com/zaach/jsonlint (#5509)
* new file: projects/github.com/zaach/jsonlint/package.yml * use prefix without libexec
This commit is contained in:
parent
30b24c303a
commit
1f791c84ed
34
projects/github.com/zaach/jsonlint/package.yml
Normal file
34
projects/github.com/zaach/jsonlint/package.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/zaach/jsonlint/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: zaach/jsonlint/tags
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
nodejs.org: ^20
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
npmjs.com: ^10
|
||||||
|
script:
|
||||||
|
npm i $ARGS .
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -ddd
|
||||||
|
- --global
|
||||||
|
- --build-from-source
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --install-links
|
||||||
|
- --unsafe-perm
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/jsonlint
|
||||||
|
|
||||||
|
test:
|
||||||
|
- run: jsonlint $FIXTURE | grep test
|
||||||
|
fixture:
|
||||||
|
contents: |
|
||||||
|
{"name": "test"}
|
||||||
|
extname: json
|
||||||
|
- jsonlint --help
|
Loading…
Reference in a new issue