]> git.immae.eu Git - perso/Immae/Config/dotdrop.git/commitdiff
Add haskell stack config
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 15:19:06 +0000 (17:19 +0200)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 15:33:07 +0000 (17:33 +0200)
config.yaml
dotfiles/programming/haskell/stack/config.yaml [new file with mode: 0644]
dotfiles/programming/haskell/stack/global-project/README.txt [new file with mode: 0644]
dotfiles/programming/haskell/stack/global-project/stack.yaml [new file with mode: 0644]

index b0ae7020c8718fe15288ae0008fa0c814d54905e..3f4fcb0cd211667af70752581a3c9dd0609bb4e6 100644 (file)
@@ -62,6 +62,9 @@ dotfiles:
   prog_haskell_ghci:
     dst: ~/.ghc/ghci.conf
     src: programming/haskell/ghci.conf
+  prog_haskell_stack:
+    dst: ~/.local/share/stack
+    src: programming/haskell/stack
   prog_nodejs_npm:
     dst: ~/.config/npm/npmrc
     src: programming/nodejs/npmrc
@@ -132,6 +135,7 @@ profiles:
   _prog_haskell:
     dotfiles:
     - prog_haskell_ghci
+    - prog_haskell_stack
   _prog_nodejs:
     dotfiles:
     - prog_nodejs_npm
diff --git a/dotfiles/programming/haskell/stack/config.yaml b/dotfiles/programming/haskell/stack/config.yaml
new file mode 100644 (file)
index 0000000..5828c8d
--- /dev/null
@@ -0,0 +1,14 @@
+# This file contains default non-project-specific settings for 'stack', used
+# in all projects.  For more information about stack's configuration, see
+# http://docs.haskellstack.org/en/stable/yaml_configuration/
+
+# The following parameters are used by "stack new" to automatically fill fields
+# in the cabal config. We recommend uncommenting them and filling them out if
+# you intend to use 'stack new'.
+# See https://docs.haskellstack.org/en/stable/yaml_configuration/#templates
+templates:
+  params:
+#    author-name:
+#    author-email:
+#    copyright:
+#    github-username:
\ No newline at end of file
diff --git a/dotfiles/programming/haskell/stack/global-project/README.txt b/dotfiles/programming/haskell/stack/global-project/README.txt
new file mode 100644 (file)
index 0000000..646fa5f
--- /dev/null
@@ -0,0 +1,2 @@
+This is the implicit global project, which is used only when 'stack' is run
+outside of a real project.
diff --git a/dotfiles/programming/haskell/stack/global-project/stack.yaml b/dotfiles/programming/haskell/stack/global-project/stack.yaml
new file mode 100644 (file)
index 0000000..643adf2
--- /dev/null
@@ -0,0 +1,10 @@
+# This is the implicit global project's config file, which is only used when
+# 'stack' is run outside of a real project.  Settings here do _not_ act as
+# defaults for all projects.  To change stack's default settings, edit
+# '/home/ismael/.local/share/stack/config.yaml' instead.
+#
+# For more information about stack's configuration, see
+# http://docs.haskellstack.org/en/stable/yaml_configuration/
+#
+packages: []
+resolver: lts-12.11