add function: __cdist_type_param_file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
15f784d848
commit
a134d6c9e1
1 changed files with 12 additions and 0 deletions
|
@ -35,7 +35,11 @@
|
|||
: ${__cdist_name_init:=init}
|
||||
: ${__cdist_name_manifest:=manifests}
|
||||
: ${__cdist_name_object:=objects}
|
||||
|
||||
: ${__cdist_name_type:=types}
|
||||
: ${__cdist_name_type_params:=parameters}
|
||||
: ${__cdist_name_type_params_required:=required}
|
||||
: ${__cdist_name_type_params_optional:=optional}
|
||||
|
||||
# Name of the executable generated
|
||||
: ${__cdist_name_exec:=exec}
|
||||
|
@ -127,6 +131,14 @@ __cdist_type_gencode()
|
|||
echo "${__cdist_type_dir}/${type}/$__cdist_name_gencode"
|
||||
}
|
||||
|
||||
__cdist_type_param_file()
|
||||
{
|
||||
local type="$1"; shift
|
||||
local paramtype="$1"; shift
|
||||
|
||||
echo "${__cdist_type_dir}/$type/$__cdist_name_type_params/$paramtype"
|
||||
}
|
||||
|
||||
__cdist_object_arg()
|
||||
{
|
||||
local arg="$1"; shift
|
||||
|
|
Loading…
Reference in a new issue