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

Commit bd58453

Browse files
committed
Added gron
1 parent ce5fd05 commit bd58453

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

renovate.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,6 +2147,17 @@
21472147
"* 21 * * *"
21482148
]
21492149
},
2150+
{
2151+
"matchFiles": [
2152+
"^tools/gron/manifest.yaml$"
2153+
],
2154+
"matchPackageNames": [
2155+
"tomnomnom/gron"
2156+
],
2157+
"schedule": [
2158+
"* 21 * * *"
2159+
]
2160+
},
21502161
{
21512162
"matchFiles": [
21522163
"^tools/grunt/manifest.yaml$"
@@ -7771,6 +7782,17 @@
77717782
"version: \"?(?<currentValue>.*?)\"?\\n"
77727783
]
77737784
},
7785+
{
7786+
"datasourceTemplate": "github-releases",
7787+
"depNameTemplate": "tomnomnom/gron",
7788+
"extractVersionTemplate": "^v(?<version>.+?)$",
7789+
"fileMatch": [
7790+
"^tools/gron/manifest.yaml$"
7791+
],
7792+
"matchStrings": [
7793+
"version: \"?(?<currentValue>.*?)\"?\\n"
7794+
]
7795+
},
77747796
{
77757797
"datasourceTemplate": "github-releases",
77767798
"depNameTemplate": "gruntjs/grunt",

tools/gron/Dockerfile.template

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
curl --silent --location --fail "https://github.com/tomnomnom/gron/releases/download/v${version}/gron-linux-${alt_arch}-${version}.tgz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner
11+
12+
#"${prefix}${target}/bin/foo" completion bash >"${prefix}${target}/share/bash-completion/completions/foo"
13+
#"${prefix}${target}/bin/foo" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/foo.fish"
14+
#"${prefix}${target}/bin/foo" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_foo"
15+
EOF

tools/gron/manifest.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: gron
2+
version: "0.7.1"
3+
check: "" # Version is set to "dev"
4+
platforms:
5+
- linux/amd64
6+
- linux/arm64
7+
tags:
8+
- category/development
9+
- lang/c
10+
- type/cli
11+
homepage: https://github.com/tomnomnom/gron
12+
description: Some description
13+
renovate:
14+
datasource: github-releases
15+
package: tomnomnom/gron
16+
extractVersion: ^v(?<version>.+?)$
17+
priority: low

0 commit comments

Comments
 (0)