mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
+github.com/hadolint/hadolint (#2266)
* +github.com/hadolint/hadolint * cabal wants git --------- Co-authored-by: Jacob Heider <jhheider@gmail.com>
This commit is contained in:
parent
86f15d6e62
commit
e670023070
1 changed files with 31 additions and 0 deletions
31
projects/github.com/hadolint/hadolint/package.yml
Normal file
31
projects/github.com/hadolint/hadolint/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
Loading…
Reference in a new issue