Add cabal.project to allow "cabal new-build"

Note: this is needed if any other project (such as HaRe) wants to use
"cabal new-build" having ghc-mod as a dependency.

Otherwise it is innocuous
This commit is contained in:
Alan Zimmerman 2016-07-11 20:13:39 +02:00
parent deef7036d0
commit cbe07e8c85
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@ cabal.sandbox.config
cabal-dev
/TAGS
/tags
/cabal.project.local

3
cabal.project Normal file
View File

@ -0,0 +1,3 @@
-- do not build sub-packages when using features from
-- http://blog.ezyang.com/2016/05/announcing-cabal-new-build-nix-style-local-builds/
packages: .

View File

@ -31,6 +31,7 @@ Data-Files: elisp/Makefile
elisp/*.el
Data-Files: LICENSE COPYING.BSD3 COPYING.AGPL3
Extra-Source-Files: ChangeLog
cabal.project
SetupCompat.hs
NotCPP/*.hs
NotCPP/COPYING