Skip to content

Commit

Permalink
Checked in generated Cabal file
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhat committed Feb 26, 2023
1 parent dd3dc8a commit f1a0906
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.stack-work/
*~
dist-newstyle/
tarballs/
/typed-process.cabal
stack.yaml.lock
7 changes: 1 addition & 6 deletions src/System/Process/Typed/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,10 @@ module System.Process.Typed.Internal
, useHandleOpen
, useHandleClose

-- ** Create your own stream spec
-- ** Create your own stream spec
, mkStreamSpec
, mkPipeStreamSpec

-- ** Process streams
--, getStdin
--, getStdout
--, getStderr

-- * Exceptions
, ExitCodeException (..)
, ByteStringOutputException (..)
Expand Down
94 changes: 94 additions & 0 deletions typed-process.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack

name: typed-process
version: 0.2.10.1
synopsis: Run external processes, with strong typing of streams
description: Please see the tutorial at <https://github.com/fpco/typed-process#readme>
category: System
homepage: https://github.com/fpco/typed-process
bug-reports: https://github.com/fpco/typed-process/issues
author: Michael Snoyman
maintainer: michael@snoyman.com
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md

source-repository head
type: git
location: https://github.com/fpco/typed-process

library
exposed-modules:
System.Process.Typed
System.Process.Typed.Internal
other-modules:
Paths_typed_process
hs-source-dirs:
src
build-depends:
async >=2.0
, base >=4.12 && <5
, bytestring
, process >=1.2
, stm
, transformers
, unliftio-core
default-language: Haskell2010
if os(windows)
cpp-options: -DWINDOWS

test-suite typed-process-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
System.Process.TypedSpec
Paths_typed_process
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-tool-depends:
hspec-discover:hspec-discover ==2.*
build-depends:
async >=2.0
, base >=4.12 && <5
, base64-bytestring
, bytestring
, hspec
, process >=1.2
, stm
, temporary
, transformers
, typed-process
, unliftio-core
default-language: Haskell2010

test-suite typed-process-test-single-threaded
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
System.Process.TypedSpec
Paths_typed_process
hs-source-dirs:
test
build-tool-depends:
hspec-discover:hspec-discover ==2.*
build-depends:
async >=2.0
, base >=4.12 && <5
, base64-bytestring
, bytestring
, hspec
, process >=1.2
, stm
, temporary
, transformers
, typed-process
, unliftio-core
default-language: Haskell2010

0 comments on commit f1a0906

Please sign in to comment.