summaryrefslogtreecommitdiff
path: root/utils/runghc
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-01-05 22:10:01 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-05 22:10:02 +0100
commite32a6e1f4ac847272598776fd15f4a98069690e5 (patch)
tree02d72208b24e5c269d499eb51ce63cfaa1499831 /utils/runghc
parent77494fa9fa34c1a831caabc194e855167de0c2d9 (diff)
downloadhaskell-e32a6e1f4ac847272598776fd15f4a98069690e5.tar.gz
Add Cabal synopses and descriptions
Various people (myself included) have complained about the lack of useful descriptions for the various packages included in GHC's source tree. Fix this. Test Plan: Validate Reviewers: austin, thomie Reviewed By: thomie Subscribers: angerman, ezyang Differential Revision: https://phabricator.haskell.org/D1736
Diffstat (limited to 'utils/runghc')
-rw-r--r--utils/runghc/runghc.cabal.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/utils/runghc/runghc.cabal.in b/utils/runghc/runghc.cabal.in
index 47fb83dc08..efef5ec4db 100644
--- a/utils/runghc/runghc.cabal.in
+++ b/utils/runghc/runghc.cabal.in
@@ -5,9 +5,19 @@ License: BSD3
-- XXX License-File: LICENSE
Author: XXX
Maintainer: XXX
-Synopsis: XXX
+Synopsis: A wrapper around GHC allowing convenient execution of scripts
Description:
- XXX
+ @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