summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-09-15 14:42:17 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2012-09-15 14:42:32 +0200
commit1b72845d55cb185768b4da92e923de66fbf78a26 (patch)
tree4bcb92d5e65b5730d9c97529033198b8dd3e458c
parentfc2231cab67ae58bc85aa8ca41bf7f0bec662a17 (diff)
downloadstylish-haskell-1b72845d55cb185768b4da92e923de66fbf78a26.tar.gz
Move default config file
-rw-r--r--data/stylish-haskell.yaml (renamed from .stylish-haskell.yaml)0
-rw-r--r--src/Language/Haskell/Stylish/Config.hs2
-rw-r--r--stylish-haskell.cabal2
3 files changed, 2 insertions, 2 deletions
diff --git a/.stylish-haskell.yaml b/data/stylish-haskell.yaml
index c128830..c128830 100644
--- a/.stylish-haskell.yaml
+++ b/data/stylish-haskell.yaml
diff --git a/src/Language/Haskell/Stylish/Config.hs b/src/Language/Haskell/Stylish/Config.hs
index 4c28a3f..346fcad 100644
--- a/src/Language/Haskell/Stylish/Config.hs
+++ b/src/Language/Haskell/Stylish/Config.hs
@@ -65,7 +65,7 @@ configFileName = ".stylish-haskell.yaml"
--------------------------------------------------------------------------------
defaultConfigFilePath :: IO FilePath
-defaultConfigFilePath = getDataFileName ".stylish-haskell.yaml"
+defaultConfigFilePath = getDataFileName "data/stylish-haskell.yaml"
--------------------------------------------------------------------------------
diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal
index bc1a02d..ba3aa88 100644
--- a/stylish-haskell.cabal
+++ b/stylish-haskell.cabal
@@ -19,7 +19,7 @@ Description:
<https://github.com/jaspervdj/stylish-haskell/blob/master/README.markdown>
Data-files:
- .stylish-haskell.yaml
+ data/stylish-haskell.yaml
Library
Exposed-modules: Language.Haskell.Stylish