diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-20 17:19:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-10-20 17:33:07 +0200 |
commit | f414bdd599a6877fc0f97872cb36a7c8b0c89a0d (patch) | |
tree | cce28b543947c47d3b3a16e81128ba5b654e9ba5 | |
parent | 05783121795db11c287c2933aada98be7ec6c3e1 (diff) | |
download | dotdrop-f414bdd599a6877fc0f97872cb36a7c8b0c89a0d.tar.gz dotdrop-f414bdd599a6877fc0f97872cb36a7c8b0c89a0d.tar.zst dotdrop-f414bdd599a6877fc0f97872cb36a7c8b0c89a0d.zip |
Add haskell stack config
-rw-r--r-- | config.yaml | 4 | ||||
-rw-r--r-- | dotfiles/programming/haskell/stack/config.yaml | 14 | ||||
-rw-r--r-- | dotfiles/programming/haskell/stack/global-project/README.txt | 2 | ||||
-rw-r--r-- | dotfiles/programming/haskell/stack/global-project/stack.yaml | 10 |
4 files changed, 30 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml index b0ae702..3f4fcb0 100644 --- a/config.yaml +++ b/config.yaml | |||
@@ -62,6 +62,9 @@ dotfiles: | |||
62 | prog_haskell_ghci: | 62 | prog_haskell_ghci: |
63 | dst: ~/.ghc/ghci.conf | 63 | dst: ~/.ghc/ghci.conf |
64 | src: programming/haskell/ghci.conf | 64 | src: programming/haskell/ghci.conf |
65 | prog_haskell_stack: | ||
66 | dst: ~/.local/share/stack | ||
67 | src: programming/haskell/stack | ||
65 | prog_nodejs_npm: | 68 | prog_nodejs_npm: |
66 | dst: ~/.config/npm/npmrc | 69 | dst: ~/.config/npm/npmrc |
67 | src: programming/nodejs/npmrc | 70 | src: programming/nodejs/npmrc |
@@ -132,6 +135,7 @@ profiles: | |||
132 | _prog_haskell: | 135 | _prog_haskell: |
133 | dotfiles: | 136 | dotfiles: |
134 | - prog_haskell_ghci | 137 | - prog_haskell_ghci |
138 | - prog_haskell_stack | ||
135 | _prog_nodejs: | 139 | _prog_nodejs: |
136 | dotfiles: | 140 | dotfiles: |
137 | - prog_nodejs_npm | 141 | - prog_nodejs_npm |
diff --git a/dotfiles/programming/haskell/stack/config.yaml b/dotfiles/programming/haskell/stack/config.yaml new file mode 100644 index 0000000..5828c8d --- /dev/null +++ b/dotfiles/programming/haskell/stack/config.yaml | |||
@@ -0,0 +1,14 @@ | |||
1 | # This file contains default non-project-specific settings for 'stack', used | ||
2 | # in all projects. For more information about stack's configuration, see | ||
3 | # http://docs.haskellstack.org/en/stable/yaml_configuration/ | ||
4 | |||
5 | # The following parameters are used by "stack new" to automatically fill fields | ||
6 | # in the cabal config. We recommend uncommenting them and filling them out if | ||
7 | # you intend to use 'stack new'. | ||
8 | # See https://docs.haskellstack.org/en/stable/yaml_configuration/#templates | ||
9 | templates: | ||
10 | params: | ||
11 | # author-name: | ||
12 | # author-email: | ||
13 | # copyright: | ||
14 | # 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 index 0000000..646fa5f --- /dev/null +++ b/dotfiles/programming/haskell/stack/global-project/README.txt | |||
@@ -0,0 +1,2 @@ | |||
1 | This is the implicit global project, which is used only when 'stack' is run | ||
2 | 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 index 0000000..643adf2 --- /dev/null +++ b/dotfiles/programming/haskell/stack/global-project/stack.yaml | |||
@@ -0,0 +1,10 @@ | |||
1 | # This is the implicit global project's config file, which is only used when | ||
2 | # 'stack' is run outside of a real project. Settings here do _not_ act as | ||
3 | # defaults for all projects. To change stack's default settings, edit | ||
4 | # '/home/ismael/.local/share/stack/config.yaml' instead. | ||
5 | # | ||
6 | # For more information about stack's configuration, see | ||
7 | # http://docs.haskellstack.org/en/stable/yaml_configuration/ | ||
8 | # | ||
9 | packages: [] | ||
10 | resolver: lts-12.11 | ||