blob: 3be9f26e326bf9d109afce0056d4b9e4e63208aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Name: runghc
Version: @ProjectVersion@
Copyright: XXX
License: BSD3
-- XXX License-File: LICENSE
Author: XXX
Maintainer: XXX
Synopsis: A wrapper around GHC allowing convenient execution of scripts
Description:
@runghc@ is a small wrapper program around GHC which allows the compiler
to be used as a UNIX-style script interpreter. For instance,
.
@
$ cat > Hi.hs
\#!/usr/bin/env runghc
main = putStrLn "hello!"
$ chmod u+x Hi.hs
$ ./Hi.hs
hello!
@
Category: Development
build-type: Simple
cabal-version: >=1.10
Executable runghc
Default-Language: Haskell2010
Main-Is: Main.hs
Build-Depends: base >= 3 && < 5,
directory >= 1 && < 1.4,
process >= 1 && < 1.5,
filepath
if !os(windows)
build-depends: unix
|