mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+complexity -- A command line tool to identify complex code
This commit is contained in:
parent
bf301a2187
commit
3770d1a86c
21
projects/github.com/thoughtbot/complexity/package.yml
Normal file
21
projects/github.com/thoughtbot/complexity/package.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/thoughtbot/complexity/archive/refs/tags/{{ version }}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/complexity
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: thoughtbot/complexity
|
||||||
|
strip: /v/
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: '>=1.56'
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
script: |
|
||||||
|
cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- test "$(complexity --version)" = "complexity {{version}}"
|
Loading…
Reference in a new issue