mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
e670023070
* +github.com/hadolint/hadolint * cabal wants git --------- Co-authored-by: Jacob Heider <jhheider@gmail.com>
31 lines
630 B
YAML
31 lines
630 B
YAML
distributable:
|
|
url: https://github.com/hadolint/hadolint/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: hadolint/hadolint
|
|
strip: /^v/
|
|
|
|
build:
|
|
dependencies:
|
|
haskell.org: ~9.2
|
|
haskell.org/cabal: ^3
|
|
git-scm.org: ^2 # cabal needs it for this one
|
|
env:
|
|
ARGS:
|
|
- --jobs={{hw.concurrency}}
|
|
- --install-method=copy
|
|
- --installdir={{prefix}}/bin
|
|
script: |
|
|
cabal v2-update
|
|
cabal v2-install $ARGS
|
|
|
|
provides:
|
|
- bin/hadolint
|
|
|
|
test:
|
|
fixture: |
|
|
FROM debian
|
|
script: |
|
|
hadolint --version | grep {{version}}
|
|
echo $(hadolint $FIXTURE || true) | grep DL3006
|