From df41f152de38ec1c2f9e32df4f93e6994369aa7f Mon Sep 17 00:00:00 2001 From: Raymond Hogenson Date: Sun, 11 Nov 2018 22:22:33 -0500 Subject: 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. --- package.yaml | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 package.yaml (limited to 'package.yaml') 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 + +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 -- cgit v1.3.1