Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 4af3ee4

Browse files
committed
Added jless #3383
1 parent 4272961 commit 4af3ee4

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,6 +2216,17 @@
22162216
"datasourceTemplate": "github-releases",
22172217
"extractVersionTemplate": "^v(?<version>.+?)$"
22182218
},
2219+
{
2220+
"fileMatch": [
2221+
"^tools/jless/manifest.yaml$"
2222+
],
2223+
"matchStrings": [
2224+
"version: \"?(?<currentValue>.*?)\"?\\n"
2225+
],
2226+
"depNameTemplate": "PaulJuliusMartinez/jless",
2227+
"datasourceTemplate": "github-releases",
2228+
"extractVersionTemplate": "^v(?<version>.+?)$"
2229+
},
22192230
{
22202231
"fileMatch": [
22212232
"^tools/jp/manifest.yaml$"

tools/jless/Dockerfile.template

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
url="https://github.com/PaulJuliusMartinez/jless/releases/download/v${version}/jless-v${version}-x86_64-unknown-linux-gnu.zip"
10+
filename="$(basename "${url}")"
11+
curl --silent --location --fail --remote-name "${url}"
12+
unzip -q -o -d "${prefix}${target}/bin" "${filename}"
13+
EOF

tools/jless/manifest.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: jless
2+
version: "0.8.0"
3+
check: ${binary} --version | cut -d' ' -f2
4+
platforms:
5+
- linux/amd64
6+
#Requires:
7+
#- libxcb1
8+
#- libxcb-render0
9+
#- libxcb-shape0
10+
#- libxcb-xfixes0
11+
tags:
12+
- category/development
13+
- lang/rust
14+
- type/cli
15+
homepage: https://github.com/PaulJuliusMartinez/jless
16+
description: Command-line JSON viewer designed for reading, exploring, and searching
17+
renovate:
18+
datasource: github-releases
19+
package: PaulJuliusMartinez/jless
20+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)