diff options
| author | Raymond Hogenson <rhogenson@posteo.net> | 2018-11-11 22:22:33 -0500 |
|---|---|---|
| committer | Raymond Hogenson <rhogenson@posteo.net> | 2018-11-11 22:22:33 -0500 |
| commit | df41f152de38ec1c2f9e32df4f93e6994369aa7f (patch) | |
| tree | f2fec2a142c976b100cf98f58480242cc1622e41 /package.yaml | |
| download | block-copy-df41f152de38ec1c2f9e32df4f93e6994369aa7f.tar.zst | |
Write blockCopy's first version
Wow it's like being a proud parent. This software is written
for exactly one purpose: to mount an encrypted volume on Google Drive
with reasonably good performance. It's based around the idea that the
fastest thing for Google Drive is reading and writing whole files, so
we break a file up into blocks and transfer only whole blocks. It works,
but it's still really slow.
Diffstat (limited to 'package.yaml')
| -rw-r--r-- | package.yaml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..294dab4 --- /dev/null +++ b/package.yaml @@ -0,0 +1,60 @@ +name: blockcopy +version: 0.1.0.0 +github: "githubuser/blockcopy" +license: BSD3 +author: "Author name here" +maintainer: "example@example.com" +copyright: "2018 Author name here" + +extra-source-files: +- README.md +- ChangeLog.md + +# Metadata used when publishing your package +# synopsis: Short description of your package +# category: Web + +# To avoid duplicated efforts in documentation and dealing with the +# complications of embedding Haddock markup inside cabal files, it is +# common to point users to the README.md file. +description: Please see the README on GitHub at <https://github.com/githubuser/blockcopy#readme> + +dependencies: +- base >= 4.7 && < 5 +- unix +- concurrent-extra +- containers +- filepath +- bytestring +- HFuse +- directory +- parallel-io + +library: + source-dirs: src + +executables: + blockcopy-exe: + main: Main.hs + source-dirs: app + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - blockcopy + +tests: + blockcopy-test: + main: Spec.hs + source-dirs: test + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - blockcopy + +ghc-options: +- -Wall +- -Werror |
