Limited china whitespace to one folder.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -12s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -12s
This commit is contained in:
parent
321ffc5a8b
commit
b78d3e5c1f
27 changed files with 25 additions and 25 deletions
52
lib/make/सिस्टमₚᵣₐᵧToੴ/mb_make_check.mk
Normal file
52
lib/make/सिस्टमₚᵣₐᵧToੴ/mb_make_check.mk
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
|
||||
define mb_make_check_variable
|
||||
$(MB_ᕽᕽᕽ )$(if $($(1)),,$(error $(1): Is empty))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_deep,mb_make_check_variable,"Checks that a variable is not empty.","<variable>")
|
||||
|
||||
|
||||
define mb_make_check_value_valid
|
||||
$(MB_ᕽᕽᕽ )$(if $(filter $(2),$(3)),,$(error $(1): $(2) Is not valid, options are: $(3)))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_deep,mb_make_check_value_valid,"Checks that a value is valid.","<value> <valid-values>")
|
||||
|
||||
|
||||
define mb_make_check_arg1
|
||||
$(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1)))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_deep,mb_make_check_arg1,"Checks that a function has a given argument.","<function> <arg1>")
|
||||
|
||||
|
||||
define mb_make_check_arg2
|
||||
$(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(3),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG2)))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_deep,mb_make_check_arg2,"Checks that a function has the given arguments.","<function> <arg1>")
|
||||
|
||||
|
||||
define mb_make_check_arg3
|
||||
$(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(3),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG2))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(4),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG3)))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_deep,mb_make_check_arg3,"Checks that a function has the given arguments.","<function> <arg1>")
|
||||
|
||||
|
||||
define mb_make_check_arg4
|
||||
$(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(3),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG2))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(4),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG3))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(5),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG4)))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_deep,mb_make_check_arg4,"Checks that a function has the given arguments.","<function> <arg1>")
|
||||
|
||||
|
||||
define mb_make_check_arg5
|
||||
$(MB_ᕽᕽᕽ )$(if $(2),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG1))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(3),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG2))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(4),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG3))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(5),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG4))) \
|
||||
$(MB_ᕽᕽᕽ )$(if $(6),,$(error $(1): $(MB_I18N_MAKE_CHECK_ARG5)))
|
||||
endef
|
||||
$(call mb_make_call,mb_doc_function_deep,mb_make_check_arg5,"Checks that a function has the given arguments.","<function> <arg1>")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue