Fix excluding .swp files
This commit is contained in:
parent
bf475232bb
commit
653dc437c7
3
ctctl
3
ctctl
|
@ -578,10 +578,11 @@ ctctl_render_templates(){
|
|||
fi
|
||||
done
|
||||
fi
|
||||
GOMPLATE_COMMON_ARGS+=(--exclude .git* --exclude ./**/*.swp)
|
||||
|
||||
local GOMPLATE_BUNDLE_ARGS=(--input-dir "bundles/${NAME}")
|
||||
# Do not render templates from dependencies, variables files, optional files directory content and images (images will be handled later)
|
||||
GOMPLATE_BUNDLE_ARGS+=(--exclude .git* --exclude **.swp --exclude bundles.yml --exclude variables.yml --exclude images/** --exclude templates/** --exclude files/** --exclude example/**)
|
||||
GOMPLATE_BUNDLE_ARGS+=(--exclude bundles.yml --exclude variables.yml --exclude images/** --exclude templates/** --exclude files/** --exclude example/**)
|
||||
|
||||
# Now, render the merged config in a temp file
|
||||
|
||||
|
|
Loading…
Reference in New Issue