diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-14 12:46:57 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-14 12:46:57 -0400 |
commit | 3a0bd261d9cfd395ed23ff43515523e6c6658c33 (patch) | |
tree | 9186c5daf386ba8e76c47ec869a737344a5a74d1 /Test.hs | |
parent | ac4b4a812da85b46e7d656b12d9ff5568ef706fd (diff) |
fold Build/SysConfig.hs into BuildInfo via include
This avoids warnings from stack about the module not being listed in the
cabal file. So, the generated file is also renamed to Build/SysConfig.
Note that the setup program seems to be cached despite these changes; I
had to cabal clean to get cabal to update it so that Build/SysConfig was
written.
This commit was sponsored by Jochen Bartl on Patreon.
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,7 +88,7 @@ import qualified Annex.Action import qualified Logs.View import qualified Utility.Path import qualified Utility.FileMode -import qualified Build.SysConfig +import qualified BuildInfo import qualified Utility.Format import qualified Utility.Verifiable import qualified Utility.Process @@ -1622,7 +1622,7 @@ test_rsync_remote = intmpclonerepo $ do annexed_present annexedfile test_bup_remote :: Assertion -test_bup_remote = intmpclonerepo $ when Build.SysConfig.bup $ do +test_bup_remote = intmpclonerepo $ when BuildInfo.bup $ do dir <- absPath "dir" -- bup special remote needs an absolute path createDirectory dir git_annex "initremote" (words $ "foo type=bup encryption=none buprepo="++dir) @? "initremote failed" |