Moved all eval over own function for argument validation.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -2s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -2s
This commit is contained in:
parent
183b0908aa
commit
8a07c9de8d
11 changed files with 78 additions and 42 deletions
|
|
@ -27,7 +27,7 @@ endef
|
|||
$(call mb_make_call,mb_doc_function,mb_flight_video_merge,"Merged all flight videos to one.","<dir>")
|
||||
|
||||
|
||||
define mb_flight_proj_flow_video
|
||||
define __mb_flight_proj_flow_video
|
||||
@@flight-video-build: @build
|
||||
$$(if $$(filter on,$$(MB_FLIGHT_VIDEO)),$$(call mb_make_call,mb_flight_video_merge,$(1)))
|
||||
|
||||
|
|
@ -63,5 +63,9 @@ $$(call mb_make_call,mb_doc_target_help,@flight-video-test,"Runs @clean and @tes
|
|||
$$(call mb_make_call,mb_doc_target_help,@flight-video-package-qa,"Runs @clean and @package-qa with recorder and merges flight videos to one.")
|
||||
.PHONY: @flight-video-package-qa
|
||||
endef
|
||||
define mb_flight_proj_flow_video
|
||||
$(if $(1),,$(error $(1) missing))
|
||||
$(eval $(call mb_make_call,__mb_flight_proj_flow_video,$(1)))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_flow,mb_flight_proj_flow_video,"Prints flow for adding flight video targets in project build cycle.","<path-bin>")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue