Don't list S3 as a remote type when built without S3 support.
This commit is contained in:
parent
ad43f03626
commit
c371c40a88
4 changed files with 13 additions and 18 deletions
14
Remote.hs
14
Remote.hs
|
@ -55,14 +55,14 @@ import qualified Remote.Web
|
|||
import qualified Remote.Hook
|
||||
|
||||
remoteTypes :: [RemoteType]
|
||||
remoteTypes =
|
||||
[ Remote.Git.remote
|
||||
remoteTypes = catMaybes
|
||||
[ Just Remote.Git.remote
|
||||
, Remote.S3.remote
|
||||
, Remote.Bup.remote
|
||||
, Remote.Directory.remote
|
||||
, Remote.Rsync.remote
|
||||
, Remote.Web.remote
|
||||
, Remote.Hook.remote
|
||||
, Just Remote.Bup.remote
|
||||
, Just Remote.Directory.remote
|
||||
, Just Remote.Rsync.remote
|
||||
, Just Remote.Web.remote
|
||||
, Just Remote.Hook.remote
|
||||
]
|
||||
|
||||
{- Builds a list of all available Remotes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue