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

Commit b2acdb4

Browse files
committed
Added ansi #3525
1 parent 0c7f6ba commit b2acdb4

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,16 @@
185185
"datasourceTemplate": "github-releases",
186186
"extractVersionTemplate": "^v(?<version>.+?)$"
187187
},
188+
{
189+
"fileMatch": [
190+
"^tools/ansi/manifest.yaml$"
191+
],
192+
"matchStrings": [
193+
"version: \"?(?<currentValue>.*?)\"?\\n"
194+
],
195+
"depNameTemplate": "fidian/ansi",
196+
"datasourceTemplate": "github-tags"
197+
},
188198
{
189199
"fileMatch": [
190200
"^tools/apk/manifest.yaml$"

tools/ansi/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.4.3
2+
3+
ARG ref=main
4+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5+
6+
ARG name
7+
ARG version
8+
9+
RUN <<EOF
10+
curl --silent --location --output "${prefix}${target}/bin/ansi" \
11+
"https://github.com/fidian/ansi/raw/${version}/ansi"
12+
chmod +x "${prefix}${target}/bin/ansi"
13+
EOF

tools/ansi/manifest.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: ansi
2+
version: 3.0.1
3+
check: ""
4+
tags:
5+
- type/cli
6+
homepage: https://github.com/fidian/ansi
7+
description: ANSI escape codes in pure bash
8+
renovate:
9+
datasource: github-tags
10+
package: fidian/ansi

0 commit comments

Comments
 (0)