summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2021-01-31 08:51:19 -0500
committerRyan Scott <ryan.gl.scott@gmail.com>2021-01-31 08:51:50 -0500
commit6f0fe54c6acf298cd324164965552de26f7ffce6 (patch)
tree283e490b917aa3d8f48580126f2351b7a5376a9e
parenteb90d23911ee10868dc2c7cc27a8397f0ae9b41d (diff)
downloadhaskell-wip/add-ghci-wrapper-cabal-to-gitignore.tar.gz
Add driver/ghci/ghci-wrapper.cabal to .gitignorewip/add-ghci-wrapper-cabal-to-gitignore
After commit 55ef3bdc28681a22ceccf207707c49229f9b7559, running `./configure` now generates a `driver/ghci/ghci-wrapper.cabal` file from `driver/ghci/ghci-wrapper.cabal.in`, which pollutes the `git` tree: ``` $ git status On branch master Your branch is up to date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) driver/ghci/ghci-wrapper.cabal nothing added to commit but untracked files present (use "git add" to track) ``` Since `driver/ghci/ghci-wrapper.cabal` is autogenerated, the sensible thing to do is to add it to `.gitignore`. While I was in town, I also added the standard `*.in` file disclaimer to `driver/ghci/ghci-wrapper.cabal.in`. [ci skip]
-rw-r--r--.gitignore1
-rw-r--r--driver/ghci/ghci-wrapper.cabal.in5
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 1d296980e5..aa47ad2953 100644
--- a/.gitignore
+++ b/.gitignore
@@ -125,6 +125,7 @@ _darcs/
/docs/users_guide/utils.pyc
/driver/ghci/ghc-pkg-inplace
/driver/ghci/ghci-inplace
+/driver/ghci/ghci-wrapper.cabal
/driver/ghci/ghci.res
/driver/ghci/cwrapper.c
/driver/ghci/cwrapper.h
diff --git a/driver/ghci/ghci-wrapper.cabal.in b/driver/ghci/ghci-wrapper.cabal.in
index c0053e9834..2616223ada 100644
--- a/driver/ghci/ghci-wrapper.cabal.in
+++ b/driver/ghci/ghci-wrapper.cabal.in
@@ -1,3 +1,6 @@
+-- WARNING: ghci-wrapper.cabal is automatically generated from ghci-wrapper.cabal.in by
+-- ./configure. Make sure you are editing ghci-wrapper.cabal.in, not ghci-wrapper.cabal.
+
Name: ghci-wrapper
Version: @ProjectVersion@
Copyright: XXX
@@ -23,4 +26,4 @@ Executable ghci
C-Sources:
ghci.c
-- the following get copied from ../utils by hadrian
- getLocation.c isMinTTY.c cwrapper.c \ No newline at end of file
+ getLocation.c isMinTTY.c cwrapper.c