[commit: ghc] master: Add a note on doc/flavours.md (a0ccea6)
git at git.haskell.org
git at git.haskell.org
Tue Oct 23 20:11:19 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a0ccea60c4d8d0d3dba5021f67671c2633af1d3b/ghc
>---------------------------------------------------------------
commit a0ccea60c4d8d0d3dba5021f67671c2633af1d3b
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sun Nov 5 00:50:14 2017 +0000
Add a note on doc/flavours.md
>---------------------------------------------------------------
a0ccea60c4d8d0d3dba5021f67671c2633af1d3b
src/Settings/Default.hs | 1 +
src/Settings/Flavours/Development.hs | 1 +
src/Settings/Flavours/Performance.hs | 1 +
src/Settings/Flavours/Profiled.hs | 1 +
src/Settings/Flavours/Quick.hs | 1 +
src/Settings/Flavours/QuickCross.hs | 1 +
src/Settings/Flavours/Quickest.hs | 1 +
7 files changed, 7 insertions(+)
diff --git a/src/Settings/Default.hs b/src/Settings/Default.hs
index 865e078..5dde31b 100644
--- a/src/Settings/Default.hs
+++ b/src/Settings/Default.hs
@@ -110,6 +110,7 @@ defaultRtsWays = do
pure [ dynamic, debugDynamic, threadedDynamic, threadedDebugDynamic
, loggingDynamic, threadedLoggingDynamic ] ]
+-- Please update doc/flavours.md when changing the default build flavour.
-- | Default build flavour. Other build flavours are defined in modules
-- @Settings.Flavours.*@. Users can add new build flavours in "UserSettings".
defaultFlavour :: Flavour
diff --git a/src/Settings/Flavours/Development.hs b/src/Settings/Flavours/Development.hs
index 73ea86a..5919026 100644
--- a/src/Settings/Flavours/Development.hs
+++ b/src/Settings/Flavours/Development.hs
@@ -4,6 +4,7 @@ import Expression
import Flavour
import {-# SOURCE #-} Settings.Default
+-- Please update doc/flavours.md when changing this file.
developmentFlavour :: Stage -> Flavour
developmentFlavour ghcStage = defaultFlavour
{ name = "devel" ++ show (fromEnum ghcStage)
diff --git a/src/Settings/Flavours/Performance.hs b/src/Settings/Flavours/Performance.hs
index 9b2f0e7..64ab4bc 100644
--- a/src/Settings/Flavours/Performance.hs
+++ b/src/Settings/Flavours/Performance.hs
@@ -4,6 +4,7 @@ import Expression
import Flavour
import {-# SOURCE #-} Settings.Default
+-- Please update doc/flavours.md when changing this file.
performanceFlavour :: Flavour
performanceFlavour = defaultFlavour
{ name = "perf"
diff --git a/src/Settings/Flavours/Profiled.hs b/src/Settings/Flavours/Profiled.hs
index 76563a7..d56cc10 100644
--- a/src/Settings/Flavours/Profiled.hs
+++ b/src/Settings/Flavours/Profiled.hs
@@ -4,6 +4,7 @@ import Expression
import Flavour
import {-# SOURCE #-} Settings.Default
+-- Please update doc/flavours.md when changing this file.
profiledFlavour :: Flavour
profiledFlavour = defaultFlavour
{ name = "prof"
diff --git a/src/Settings/Flavours/Quick.hs b/src/Settings/Flavours/Quick.hs
index d44d59b..99dade9 100644
--- a/src/Settings/Flavours/Quick.hs
+++ b/src/Settings/Flavours/Quick.hs
@@ -5,6 +5,7 @@ import Flavour
import Oracles.Flag
import {-# SOURCE #-} Settings.Default
+-- Please update doc/flavours.md when changing this file.
quickFlavour :: Flavour
quickFlavour = defaultFlavour
{ name = "quick"
diff --git a/src/Settings/Flavours/QuickCross.hs b/src/Settings/Flavours/QuickCross.hs
index 3509c56..3d0c410 100644
--- a/src/Settings/Flavours/QuickCross.hs
+++ b/src/Settings/Flavours/QuickCross.hs
@@ -5,6 +5,7 @@ import Flavour
import Oracles.Flag
import {-# SOURCE #-} Settings.Default
+-- Please update doc/flavours.md when changing this file.
quickCrossFlavour :: Flavour
quickCrossFlavour = defaultFlavour
{ name = "quick-cross"
diff --git a/src/Settings/Flavours/Quickest.hs b/src/Settings/Flavours/Quickest.hs
index a463971..a9dfb70 100644
--- a/src/Settings/Flavours/Quickest.hs
+++ b/src/Settings/Flavours/Quickest.hs
@@ -4,6 +4,7 @@ import Expression
import Flavour
import {-# SOURCE #-} Settings.Default
+-- Please update doc/flavours.md when changing this file.
quickestFlavour :: Flavour
quickestFlavour = defaultFlavour
{ name = "quickest"
More information about the ghc-commits
mailing list