blob: 3afeb425eed499d79bdc4fce67b20c7d1d7cd73c (
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.7,
filepath
if !os(windows)
build-depends: unix
|