Skip to content

Commit

Permalink
Cabalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Zert committed Jun 18, 2014
1 parent 3e83d3b commit c581038
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
/.cabal-sandbox/
/cabal.sandbox.config
/dist/
15 changes: 15 additions & 0 deletions LICENSE
@@ -0,0 +1,15 @@
Copyright (c) 2014 Bonelli Nicola <bonelli@antifork.org>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
36 changes: 36 additions & 0 deletions cgrep.cabal
@@ -0,0 +1,36 @@
Name: cgrep
Description: Cgrep: a context-aware grep for source codes
Version: 4.1
Synopsis: Command line tool
License: GPL-2
License-file: LICENSE
Author: Bonelli Nicola
Maintainer: bonelli@antifork.org
Category: Utils
Build-type: Simple
Stability: Experimental
Cabal-version: >= 1.18.0

Executable cgrep
Main-Is: Main.hs
Hs-Source-Dirs: src
Default-Extensions: CPP
Build-Depends: base >= 4.6,
bytestring >= 0.10,
stringsearch >= 0.3,
containers >= 0.5,
unordered-containers >= 0.1,
filepath >= 1.3,
directory >= 1.2,
cmdargs >= 0.10,
ansi-terminal >= 0.5,
split >= 0.2,
array >= 0.4,
dlist >= 0.3,
regex-posix >= 0.90,
stm >= 2.1,
safe >= 0.3,
ghc-prim

Ghc-options: -O2 -Wall -threaded
Default-language: Haskell2010

0 comments on commit c581038

Please sign in to comment.