split BuildInfo and BuildFlags

The problem with combining these is that Build.Standalone etc need only
the BuildInfo, and since not built with cabal, the BuildFlags ifdefs
were causing bogus warnings.
This commit is contained in:
Joey Hess 2018-01-02 13:47:51 -04:00
parent 25703e1413
commit 75366d3c34
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 114 additions and 101 deletions

View file

@ -12,7 +12,7 @@ module Assistant.WebApp.Documentation where
import Assistant.WebApp.Common
import Assistant.Install (standaloneAppBase)
import BuildInfo (packageversion)
import BuildInfo
import BuildFlags
{- The full license info may be included in a file on disk that can
- be read in and displayed. -}