diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-09-21 23:51:02 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-09-21 23:51:02 +0200 |
| commit | a7114618c1290b00745db69ef0e60b2e848a662d (patch) | |
| tree | 40f49cf43c7f443b5e01505d36474c0f3514ba48 /app/SlackBuilder/Package.hs | |
| parent | 77c9a2ab54b697f37e21b76c1fd82fc42dc4792e (diff) | |
| download | slackbuilder-a7114618c1290b00745db69ef0e60b2e848a662d.tar.gz | |
Combine test and application dependencies
Diffstat (limited to 'app/SlackBuilder/Package.hs')
| -rw-r--r-- | app/SlackBuilder/Package.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/SlackBuilder/Package.hs b/app/SlackBuilder/Package.hs index cc3ea42..a447609 100644 --- a/app/SlackBuilder/Package.hs +++ b/app/SlackBuilder/Package.hs @@ -63,6 +63,7 @@ instance Show DownloadTemplate where show (DownloadTemplate components) = concatMap show components +-- | Replaces placeholders in the URL template with the given version. renderDownloadWithVersion :: MonadThrow m => DownloadTemplate -> Text -> m URI renderDownloadWithVersion (DownloadTemplate components) version = URI.mkURI $ foldr f "" components |
