File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed
projects/github.com/hadolint/hadolint Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change 11distributable :
2- url : https://github.com/hadolint/hadolint/archive/v {{version}}.tar.gz
2+ url : https://github.com/hadolint/hadolint/archive/{{version.tag }}.tar.gz
33 strip-components : 1
44
55versions :
66 github : hadolint/hadolint
7- strip : /^v/
87
98build :
109 dependencies :
11- haskell.org : ~9.2
10+ haskell.org : ~9.10 # as of 2.13.1
1211 haskell.org/cabal : ^3
1312 git-scm.org : ^2 # cabal needs it for this one
1413 env :
1514 ARGS :
1615 - --jobs={{hw.concurrency}}
1716 - --install-method=copy
1817 - --installdir={{prefix}}/bin
19- script : |
20- cabal v2-update
21- cabal v2-install $ARGS
18+ script :
19+ - run : unset LDFLAGS
20+ if : darwin
21+ - cabal v2-update
22+ - cabal v2-install $ARGS
23+ - run : install_name_tool add_rpath {{pkgx.prefix}} hadolint
24+ if : darwin
25+ working-directory : ${{prefix}}/bin
2226
2327provides :
2428 - bin/hadolint
2529
2630test :
27- fixture : |
28- FROM debian
29- script : |
30- hadolint --version | grep {{version}}
31- echo $(hadolint $FIXTURE || true) | grep DL3006
31+ script :
32+ - hadolint --version | grep {{version}}
33+ - run : echo $(hadolint $FIXTURE || true) | grep DL3006
34+ fixture : |
35+ FROM debian
You can’t perform that action at this time.
0 commit comments