mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
5ef8fd50df
commit
23ae0a9ed8
1 changed files with 11 additions and 5 deletions
|
@ -1,13 +1,17 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/AlDanial/cloc/archive/v{{version.marketing}}.tar.gz
|
url: https://github.com/AlDanial/cloc/archive/{{version.tag}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: AlDanial/cloc
|
github: AlDanial/cloc
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
perl.org: ^5
|
perl.org: ^5
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
PERL5LIB: $PERL5LIB:{{prefix}}/lib/perl5
|
PERL5LIB: $PERL5LIB:{{prefix}}/lib/perl5
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
cpanmin.us: '*'
|
cpanmin.us: '*'
|
||||||
|
@ -18,7 +22,7 @@ build:
|
||||||
- cpanm -l {{prefix}} $PKGS
|
- cpanm -l {{prefix}} $PKGS
|
||||||
- make --jobs {{ hw.concurrency }} -C Unix prefix={{prefix}} install
|
- make --jobs {{ hw.concurrency }} -C Unix prefix={{prefix}} install
|
||||||
- run: fix-shebangs.ts cloc config_data
|
- run: fix-shebangs.ts cloc config_data
|
||||||
working-directory: "{{prefix}}/bin"
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
PKGS:
|
PKGS:
|
||||||
- Regexp::Common
|
- Regexp::Common
|
||||||
|
@ -31,10 +35,12 @@ build:
|
||||||
- Devel::GlobalDestruction
|
- Devel::GlobalDestruction
|
||||||
- Sub::Exporter::Progressive
|
- Sub::Exporter::Progressive
|
||||||
PERL5LIB: $PERL5LIB:{{prefix}}/lib/perl5
|
PERL5LIB: $PERL5LIB:{{prefix}}/lib/perl5
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/cloc
|
- bin/cloc
|
||||||
- bin/config_data
|
- bin/config_data
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
- cloc --csv . | grep 1,C,0,0,5
|
||||||
- cloc --csv . | grep 1,C,0,0,5
|
- cloc --version
|
||||||
- cloc --version | grep {{version.marketing}}
|
- cloc --version | grep {{version.marketing}}
|
||||||
|
|
Loading…
Reference in a new issue