Commit Graph

235 Commits

Author SHA1 Message Date
ca59169f02 Set proper optimisation for streamly
https://github.com/composewell/streamly/blob/master/docs/Build.md
2020-01-04 17:55:58 +01:00
09eea518b8 Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
4e07fcf5b2 Fix update-gh-pages 2019-12-31 01:41:34 +01:00
a343d43b5c Update gh token 2019-12-31 01:27:35 +01:00
fda03eb27a Update GH_TOKEN 2019-12-31 01:04:34 +01:00
a487f02894 Try to fix update-gh-pages 2019-12-31 00:44:06 +01:00
8412ea96fb Merge remote-tracking branch 'origin/fix-doctests' 2019-12-30 23:00:24 +01:00
28e0d1d635 Add tested-with 2019-12-30 22:42:54 +01:00
c9013e5a2a Various travis fixes 2019-12-30 22:42:54 +01:00
1d03ec78b3 Clean up ghc matrix 2019-12-30 22:42:54 +01:00
f5c541b9cc Move doctests to shell script
This fixes various problems with doctest:

* https://github.com/sol/doctest/issues/245
* https://github.com/composewell/streamly/issues/83

Also clean up travis.yml for cabal-3.
2019-12-30 22:42:54 +01:00
3529ec2a15 Revert "Fix support for older GHCs"
This reverts commit 21dd1718c0.
2019-12-30 16:35:42 +01:00
7db7a9402f Merge remote-tracking branch 'origin/streamly' 2019-12-30 16:01:49 +01:00
21dd1718c0 Fix support for older GHCs 2019-12-30 15:16:59 +01:00
2e0fe6b698 Fix travis
Streamly requires at least cabal 2.2.
2019-12-30 15:01:03 +01:00
200fc9b581 Use streamly for copyFile 2019-12-30 14:47:06 +01:00
4ac3ee3e42 Update .gitignore 2019-12-30 14:34:57 +01:00
035c364b35 Fix doctests-posix 2019-12-30 14:34:54 +01:00
6bc5381108 Add hackage-deps badge 2018-06-02 22:38:50 +02:00
ef51863180 Document use of 'getcwd' 2018-04-12 14:28:37 +02:00
09062351f5 Release 0.9.2 0.9.2 2018-04-12 02:23:56 +02:00
ab4137572e Fix travis typo 2018-04-12 02:20:51 +02:00
c03a7ec18f Merge branch 'tighten-base-bound' of https://github.com/gwils/hpath 2018-04-12 02:19:17 +02:00
George Wilson
df298f187e Tighten base bound to prevent building before GHC 7.6 2018-04-12 10:15:08 +10:00
466c72924a Fix travis build for ghc-7.6.3
Cabal sandboxes were introduced in cabal-install 1.18.
2018-04-12 02:12:34 +02:00
9dfb803ba8 Update travis matrix 2018-04-12 02:01:17 +02:00
de46a0c568 Raise required bytestring version
We use Builders, which were introduced in 0.10.0.0.
2018-04-12 01:42:18 +02:00
d9ba67b6f0 Fix build with ghc-7.6 2018-04-12 01:41:32 +02:00
9342abeb7a Release 0.9.1 0.9.1 2018-04-11 23:03:35 +02:00
e8cbc632c9 Fix build with ghc-7.8 2018-04-11 22:36:40 +02:00
c556a3d3e4 Fix build with ghc-7.10 2018-04-11 22:22:03 +02:00
3aee719130 Make "unbuildable on windows" explicit 2018-04-11 12:31:11 +02:00
10662ee803 Bump to 0.9.0 0.9.0 2018-04-11 01:12:12 +02:00
672875f48f Small .cabal cleanup 2018-04-11 01:11:40 +02:00
3e6d93182a Abstract over Path more properly
We don't expect "Path Abs" everywhere anymore. The functions
have been made to be more generic. A user can still pass
absolute paths, so we don't lose any safety. However, some
function implementations may be more tricky.
2018-04-11 01:11:00 +02:00
1c95c9f8f9 Bump to 0.8.1 0.8.1 2018-04-06 17:22:57 +02:00
0ec2cf8ca5 Add writeFile and appendFile 2018-04-06 17:22:38 +02:00
9ac10a6a7d Add file reading functions 2018-04-06 16:42:40 +02:00
1a2c77c6a6 dirname: remove incorrect documentation on properties
Fixes #11
2017-01-14 20:16:25 +01:00
3baecb7b51 Improve CopyDirRecursiveCollectFailures tests 2016-06-14 19:32:33 +02:00
5d5b0ae3c1 Add missing language pragma 2016-06-14 19:32:14 +02:00
f47c8edb42 Fix build for GHC < 7.10 2016-06-14 19:21:03 +02:00
ef66a24f87 Improve error handling
* remove some obsolete functions and error types from HPath.IO.Errors
  that are completely unused
* reworked the RecursiveFailure type to contain more information,
  so we can use it to programmatically make useful choices
  without examining the weakly types IO error attributes (like
  'ioGetFileName')
2016-06-14 19:13:25 +02:00
f6a5cb8668 Add test to basename 2016-06-13 13:51:53 +02:00
4dec385332 Improve createDirRecursive 2016-06-13 01:38:44 +02:00
5b08e14b55 Add createDirRecursive, fixes #6 2016-06-13 01:28:55 +02:00
ac381cbf60 Improve documentation 2016-06-05 22:19:30 +02:00
ce7fdcdcd6 Move documentation note about RecursiveFailure where it belongs 2016-06-05 22:04:16 +02:00
a31c9d1e88 Improve documentation and tests for file creation 2016-06-05 21:59:31 +02:00
a5942ff026 Use IfElse package for whenM/unlessM 2016-06-05 21:52:52 +02:00