2015-01-18 02:52:18 +00:00
|
|
|
Name: turtle
|
2015-06-09 01:55:42 +00:00
|
|
|
Version: 1.1.1
|
2015-01-18 02:52:18 +00:00
|
|
|
Cabal-Version: >=1.10
|
|
|
|
Build-Type: Simple
|
|
|
|
License: BSD3
|
|
|
|
License-File: LICENSE
|
|
|
|
Copyright: 2015 Gabriel Gonzalez
|
|
|
|
Author: Gabriel Gonzalez
|
|
|
|
Maintainer: Gabriel439@gmail.com
|
|
|
|
Bug-Reports: https://github.com/Gabriel439/Haskell-Turtle-Library/issues
|
|
|
|
Synopsis: Shell programming, Haskell-style
|
2015-01-28 02:40:27 +00:00
|
|
|
Description: @turtle@ is a reimplementation of the Unix command line environment
|
|
|
|
in Haskell so that you can use Haskell as both a shell and a scripting
|
2015-01-31 18:32:06 +00:00
|
|
|
language.
|
2015-01-18 02:52:18 +00:00
|
|
|
.
|
|
|
|
Features include:
|
|
|
|
.
|
2015-01-28 02:40:27 +00:00
|
|
|
* Batteries included: Command an extended suite of predefined utilities
|
2015-01-20 04:05:19 +00:00
|
|
|
.
|
2015-01-28 02:40:27 +00:00
|
|
|
* Interoperability: You can still run external shell commands
|
2015-01-20 06:23:15 +00:00
|
|
|
.
|
2015-01-20 04:05:19 +00:00
|
|
|
* Portability: Works on Windows, OS X, and Linux
|
2015-01-18 02:52:18 +00:00
|
|
|
.
|
2015-01-20 04:05:19 +00:00
|
|
|
* Exception safety: Safely acquire and release resources
|
2015-01-18 02:52:18 +00:00
|
|
|
.
|
2015-01-20 04:05:19 +00:00
|
|
|
* Streaming: Transform or fold command output in constant space
|
2015-01-18 02:52:18 +00:00
|
|
|
.
|
2015-01-20 04:05:19 +00:00
|
|
|
* Patterns: Use typed regular expressions that can parse structured values
|
|
|
|
.
|
2015-01-28 02:40:27 +00:00
|
|
|
* Formatting: Type-safe @printf@-style text formatting
|
2015-01-20 06:23:15 +00:00
|
|
|
.
|
|
|
|
* Modern: Supports @text@ and @system-filepath@
|
|
|
|
.
|
|
|
|
Read "Turtle.Tutorial" for a detailed tutorial or "Turtle.Prelude" for a
|
|
|
|
quick-start guide
|
2015-01-31 18:32:06 +00:00
|
|
|
.
|
|
|
|
@turtle@ is designed to be beginner-friendly, but as a result lacks certain
|
|
|
|
features, like tracing commands. If you feel comfortable using @turtle@
|
|
|
|
then you should also check out the @Shelly@ library which provides similar
|
|
|
|
functionality.
|
2015-01-20 04:05:19 +00:00
|
|
|
Category: System
|
2015-01-18 02:52:18 +00:00
|
|
|
Source-Repository head
|
|
|
|
Type: git
|
2015-01-20 04:05:19 +00:00
|
|
|
Location: https://github.com/Gabriel439/Haskell-Turtle-Library
|
2015-01-18 02:52:18 +00:00
|
|
|
|
|
|
|
Library
|
|
|
|
HS-Source-Dirs: src
|
|
|
|
Build-Depends:
|
2015-02-08 18:04:00 +00:00
|
|
|
base >= 4.5 && < 5 ,
|
2015-01-18 20:46:19 +00:00
|
|
|
async >= 2.0.0.0 && < 2.1,
|
2015-06-28 23:02:08 +00:00
|
|
|
clock >= 0.4.1.2 && < 0.6,
|
2015-01-19 00:06:50 +00:00
|
|
|
directory < 1.3,
|
2015-06-07 20:16:06 +00:00
|
|
|
foldl < 1.2,
|
2015-01-27 03:19:20 +00:00
|
|
|
managed < 1.1,
|
2015-01-18 21:35:38 +00:00
|
|
|
process >= 1.0.1.1 && < 1.3,
|
2015-01-18 15:58:56 +00:00
|
|
|
system-filepath >= 0.3.1 && < 0.5,
|
|
|
|
system-fileio >= 0.2.1 && < 0.4,
|
2015-01-19 02:17:55 +00:00
|
|
|
temporary < 1.3,
|
2015-01-18 15:58:56 +00:00
|
|
|
text < 1.3,
|
2015-01-19 01:53:54 +00:00
|
|
|
time < 1.6,
|
2015-05-14 00:51:42 +00:00
|
|
|
transformers >= 0.2.0.0 && < 0.5,
|
2015-06-27 18:11:38 +00:00
|
|
|
optparse-applicative >= 0.11 && < 0.12,
|
|
|
|
optional-args >= 1.0 && < 2.0
|
2015-01-19 00:06:50 +00:00
|
|
|
if os(windows)
|
|
|
|
Build-Depends: Win32 >= 2.2.0.1 && < 2.4
|
|
|
|
else
|
|
|
|
Build-Depends: unix >= 2.5.1.0 && < 2.8
|
2015-01-18 02:52:18 +00:00
|
|
|
Exposed-Modules:
|
|
|
|
Turtle,
|
2015-01-20 05:21:34 +00:00
|
|
|
Turtle.Format,
|
2015-01-18 15:58:56 +00:00
|
|
|
Turtle.Pattern,
|
2015-01-18 02:52:18 +00:00
|
|
|
Turtle.Shell,
|
2015-05-14 00:51:42 +00:00
|
|
|
Turtle.Options,
|
2015-01-20 07:59:59 +00:00
|
|
|
Turtle.Prelude,
|
|
|
|
Turtle.Tutorial
|
2015-01-18 02:52:18 +00:00
|
|
|
GHC-Options: -O2 -Wall
|
|
|
|
Default-Language: Haskell2010
|
|
|
|
|
|
|
|
test-suite tests
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
HS-Source-Dirs: test
|
|
|
|
Main-Is: Main.hs
|
|
|
|
GHC-Options: -O2 -Wall
|
|
|
|
Default-Language: Haskell2010
|
|
|
|
Build-Depends:
|
|
|
|
base >= 4 && < 5 ,
|
2015-06-07 20:16:06 +00:00
|
|
|
doctest >= 0.9.12 && < 0.11
|
2015-05-12 19:44:27 +00:00
|
|
|
|
|
|
|
benchmark bench
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
HS-Source-Dirs: bench
|
|
|
|
Main-Is: Main.hs
|
|
|
|
GHC-Options: -O2 -Wall -threaded
|
|
|
|
Default-Language: Haskell2010
|
|
|
|
Build-Depends:
|
|
|
|
base >= 4 && < 5 ,
|
|
|
|
criterion >= 1.1.0.0 && < 2 ,
|
|
|
|
text < 1.3,
|
|
|
|
turtle
|