9c96d86502
So, it would be nicer to just use Cabal and take advantage of its conditional compilation support. But, Cabal seems to lack good support for a package with an internal library that is used by multiple executables. It wants to build everything twice or more. That's too slow for me. Anyway, fairly soon, I expect to upgrade hS3 to a requirment, and I can just revert this.
13 lines
265 B
Haskell
13 lines
265 B
Haskell
-- stub for when hS3 is not available
|
|
module Remote.S3 (remote) where
|
|
|
|
import RemoteClass
|
|
import Types
|
|
|
|
remote :: RemoteType Annex
|
|
remote = RemoteType {
|
|
typename = "S3",
|
|
enumerate = return [],
|
|
generate = error "S3 not enabled",
|
|
setup = error "S3 not enabled"
|
|
}
|