-
-
Save cocreature/d07ef6f35f7bd9043db50794fe31e977 to your computer and use it in GitHub Desktop.
cabal new-build does not track files added via addDependentFile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cabal-sandbox/ | |
cabal.sandbox.config | |
dist/ | |
dist-newstyle/ | |
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TemplateHaskell #-} | |
module Main where | |
import qualified Data.ByteString.Char8 as ByteString | |
import Data.FileEmbed | |
main :: IO () | |
main = ByteString.putStrLn $(embedFile "fileinput") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Distribution.Simple | |
main = defaultMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Initial test-project.cabal generated by cabal init. For further | |
-- documentation, see http://haskell.org/cabal/users-guide/ | |
name: test-project | |
version: 0.1.0.0 | |
-- synopsis: | |
-- description: | |
license: BSD3 | |
author: Moritz Kiefer | |
maintainer: [email protected] | |
-- copyright: | |
-- category: | |
build-type: Simple | |
extra-source-files: fileinput | |
cabal-version: >=1.10 | |
executable test-project | |
main-is: Main.hs | |
-- other-modules: | |
-- other-extensions: | |
build-depends: base >=4.9 && <4.10 | |
, bytestring | |
, file-embed | |
-- hs-source-dirs: | |
default-language: Haskell2010 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment