This repository was archived by the owner on Oct 3, 2023. It is now read-only.
Commit 51161b9 1 parent 60e3c63 commit 51161b9 Copy full SHA for 51161b9
File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -4403,23 +4403,26 @@ tools:
4403
4403
4404
4404
- name : reptyr
4405
4405
version : 0.9.0
4406
- # check: ${binary}
4406
+ check : ${binary} -v | head -n 1 | cut -d' ' -f5 | cut -d. -f1-3
4407
4407
needs :
4408
4408
- docker
4409
4409
tags :
4410
- - XXX
4410
+ - management
4411
4411
dockerfile : |
4412
4412
FROM ubuntu:22.04
4413
4413
RUN apt-get update \
4414
4414
&& apt-get -y install \
4415
4415
build-essential \
4416
4416
git
4417
- # https://github.com/nelhage/reptyr/blob/reptyr-0.9.0/reptyr.bash
4418
- install : |
4417
+ download :
4418
+ - url : https://github.com/nelhage/reptyr/raw/reptyr-${version}/reptyr.bash
4419
+ type : file
4420
+ path : ${target}/share/bash-completion/completions/reptyr
4421
+ post_install : |
4419
4422
docker_run \
4420
4423
--workdir /go/src/github.com/nelhage/reptyr \
4421
4424
<<EOF
4422
- git clone -q --config advice.detachedHead=false --depth 1 --branch "${version}" https://github.com/nelhage/reptyr .
4425
+ git clone -q --config advice.detachedHead=false --depth 1 --branch "reptyr- ${version}" https://github.com/nelhage/reptyr .
4423
4426
export LDFLAGS=-static
4424
4427
make reptyr
4425
4428
mkdir -p /target/bin /target/share/man/man1
You can’t perform that action at this time.
0 commit comments