Merge "cabal-test: add install_args and build_args role var"
This commit is contained in:
commit
78f18243f1
@ -6,6 +6,14 @@ Run the cabal test command.
|
|||||||
|
|
||||||
The cabal target(s) to test.
|
The cabal target(s) to test.
|
||||||
|
|
||||||
|
.. zuul:rolevar:: cabal_install_args
|
||||||
|
|
||||||
|
Install command line arguments, for example to skip executable using "--lib".
|
||||||
|
|
||||||
|
.. zuul:rolevar:: cabal_build_args
|
||||||
|
|
||||||
|
Build command line arguments, for example to write hie files using "-fwrite-ide-info".
|
||||||
|
|
||||||
.. zuul:rolevar:: zuul_work_dir
|
.. zuul:rolevar:: zuul_work_dir
|
||||||
:default: {{ zuul.project.src_dir }}
|
:default: {{ zuul.project.src_dir }}
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
cabal_target: ""
|
cabal_target: ""
|
||||||
|
cabal_install_args: ""
|
||||||
|
cabal_build_args: ""
|
||||||
|
|
||||||
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
||||||
|
|
||||||
_cabal_install_args: "--only-dependencies {{ cabal_target }}"
|
_cabal_install_args: "--only-dependencies {{ cabal_install_args }} {{ cabal_target }}"
|
||||||
_cabal_build_args: "--enable-tests {{ cabal_target }}"
|
_cabal_build_args: "--enable-tests {{ cabal_build_args }} {{ cabal_target }}"
|
||||||
_cabal_test_args: "{{ cabal_target }}"
|
_cabal_test_args: "{{ cabal_target }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user