stack-0.1.6.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.SDist

Synopsis

Documentation

getSDistTarball Source

Arguments

:: M env m 
=> Maybe PvpBounds

override Config value

-> Path Abs Dir 
-> m (FilePath, ByteString) 

Given the path to a local package, creates its source distribution tarball.

While this yields a FilePath, the name of the tarball, this tarball is not written to the disk and instead yielded as a lazy bytestring.