From 07ace5c221adbb1675413a0fac300a9f7913c234 Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Mon, 12 Jan 2015 05:16:37 -0600 Subject: add -th-file which generates a th.hs file Summary: see Trac #8624 similar functionality is now available with -ddump-to-file -ddump-splices However, users are already accustomed to -ddump-splices having a particular format, and this format is not completely valid code The goal of -th-file is to dump valid Haskell code Additionally, the convention of -ddump-to-file is to name the file after the flag, so the file is .dump-splices Given that the goal of the new flag is to generate valid Haskell, The extension should be .hs Additionally, -ddump-to-file effects all other dump flags Test Plan: look at the output of using the -th-file flag and compare it to the output of using -ddump-to-file and -ddump-splices I want to add test cases, but just need some pointers on getting started there Reviewers: thomie, goldfire, simonpj, austin Reviewed By: simonpj, austin Subscribers: thomie, carter Differential Revision: https://phabricator.haskell.org/D518 GHC Trac Issues: #8624 --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 7d53060ac9..a71cfd859f 100644 --- a/.gitignore +++ b/.gitignore @@ -154,3 +154,11 @@ _darcs/ .tm_properties VERSION GIT_COMMIT_ID + +# ------------------------------------------------------------------------------------- +# when using a docker image, one can mount the source code directory as the home folder +# ------------------------------------------------------------------------------------- +.arcrc +.ghc +.bash_history +.gitconfig -- cgit v1.2.1