diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-08-18 07:50:18 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-08-18 07:50:18 +0200 |
| commit | 258604f22d2bc50480aa4eb57778ab96c97cf1c6 (patch) | |
| tree | d6fb3c1ce16879b191bc7adba91065d8c6cc7976 /app/Main.hs | |
| parent | fd649b66f57123aad95861e636299a2d0a5ca6f7 (diff) | |
| download | slackbuilder-258604f22d2bc50480aa4eb57778ab96c97cf1c6.tar.gz | |
Support repository directory in the clone function
Diffstat (limited to 'app/Main.hs')
| -rw-r--r-- | app/Main.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Main.hs b/app/Main.hs index 8d955a1..2e92865 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -36,6 +36,8 @@ main = do commit packagePath version >> pure Nothing ExistsCommand urlPath -> pure . Text.pack . show <$> remoteFileExists urlPath + ArchiveCommand repo nameVersion tarball tagPrefix -> + cloneAndArchive repo nameVersion tarball tagPrefix >> pure Nothing chooseTransformFunction (Just "php") = phpTransform chooseTransformFunction (Just "rdiff-backup") = Text.stripPrefix "v" chooseTransformFunction _ = stripPrefix "v" |
