Skip to content

Add templating function 'joinPathList' - #2825

Closed
trulede wants to merge 1 commit into
go-task:mainfrom
trulede:PR/joinlist
Closed

Add templating function 'joinPathList'#2825
trulede wants to merge 1 commit into
go-task:mainfrom
trulede:PR/joinlist

Conversation

@trulede

@trulede trulede commented May 5, 2026

Copy link
Copy Markdown
Contributor

This PR implements a simple joinPathList templating function which uses the filepath.ListSeparator value (from same namespace as existing functions).

It does not add a special variables as that can be done with environment variables (.dotenv files).
Also it does not add the joinUrl templating function because its too similar to existing urlJoin and urlPath. The existing joinPath should cover this anyway.

Fixes #2406
Alternative to #2408

@trulede
trulede marked this pull request as ready for review May 5, 2026 14:57
@andreynering

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

joinEnv - Just like joinPath but with ; for windows else :

2 participants