Skip to content

Commit

Permalink
Remove stack support from cabal-fmt plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
VeryMilkyJoe committed Aug 3, 2021
1 parent 60b2f1b commit e5ed4d8
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 83 deletions.
13 changes: 4 additions & 9 deletions stack-8.10.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin

#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -42,9 +41,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-exactprint-0.6.4
- ghc-lib-8.10.4.20210206
Expand All @@ -58,10 +54,7 @@ extra-deps:
- refinery-0.4.0.0
- retrie-0.1.1.1
- shake-0.19.4
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- semigroups-0.18.5
- temporary-1.2.1.1
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
Expand All @@ -88,6 +81,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack-8.10.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -41,9 +41,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-exactprint-0.6.4
- ghc-lib-8.10.4.20210206
Expand All @@ -57,10 +54,7 @@ extra-deps:
- refinery-0.4.0.0
- retrie-0.1.1.1
- shake-0.19.4
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- semigroups-0.18.5
- temporary-1.2.1.1
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
Expand All @@ -87,6 +81,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack-8.10.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -41,9 +41,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-exactprint-0.6.4
- ghc-source-gen-0.4.1.0
Expand All @@ -53,10 +50,7 @@ extra-deps:
- monad-dijkstra-0.1.1.2
- refinery-0.4.0.0
- retrie-0.1.1.1
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- semigroups-0.18.5
- temporary-1.2.1.1
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
Expand Down Expand Up @@ -89,6 +83,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack-8.10.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -43,9 +43,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-exactprint-0.6.4
- ghc-source-gen-0.4.1.0
Expand All @@ -55,10 +52,7 @@ extra-deps:
- monad-dijkstra-0.1.1.2
- refinery-0.4.0.0
- retrie-1.0.0.0
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- semigroups-0.18.5
- temporary-1.2.1.1
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
Expand Down Expand Up @@ -91,6 +85,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack-8.6.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -48,9 +48,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-events-0.13.0
- ghc-exactprint-0.6.4
Expand Down Expand Up @@ -87,10 +84,7 @@ extra-deps:
- retrie-0.1.1.1
- semialign-1.1
- shake-0.19.4
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- tasty-rerun-1.1.17
- temporary-1.2.1.1
- these-1.1.1.1
Expand All @@ -116,6 +110,8 @@ extra-deps:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack-8.6.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand Down Expand Up @@ -49,9 +49,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-events-0.13.0
- ghc-exactprint-0.6.4
Expand Down Expand Up @@ -88,10 +85,7 @@ extra-deps:
- retrie-0.1.1.1
- semialign-1.1
- shake-0.19.4
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- tasty-rerun-1.1.17
- temporary-1.2.1.1
- these-1.1.1.1
Expand Down Expand Up @@ -125,6 +119,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack-8.8.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -43,9 +43,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-exactprint-0.6.4
- ghc-lib-8.10.4.20210206
Expand All @@ -71,10 +68,7 @@ extra-deps:
- retrie-0.1.1.1
- semigroups-0.18.5
- shake-0.19.4
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- temporary-1.2.1.1
- uniplate-1.6.13
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
Expand Down Expand Up @@ -104,6 +98,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack-8.8.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -43,9 +43,6 @@ extra-deps:
- # ghc-api-compat-8.6
github: hsyl20/ghc-api-compat
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
- ghc-check-0.5.0.4
- ghc-exactprint-0.6.4
- ghc-lib-8.10.4.20210206
Expand All @@ -70,10 +67,7 @@ extra-deps:
- retrie-0.1.1.1
- semigroups-0.18.5
- shake-0.19.4
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- temporary-1.2.1.1
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
- bytestring-encoding-0.1.0.0@sha256:460b49779fbf0112e8e2f1753c1ed9131eb18827600c298f4d6bb51c4e8c1c0d,1727
Expand Down Expand Up @@ -101,6 +95,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
11 changes: 1 addition & 10 deletions stack-9.0.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,6 @@ extra-deps:
commit: ca23431a8dfa013992f9164ccc882a3277361f17
# https://github.com/diagrams/active/pull/36

# - # stylish haskell
# github: VeryMilkyJoe/stylish-haskell
# commit: 9279aad535de624fca990ed50f010a1743c0043a
# https://github.com/haskell/stylish-haskell/pull/375

- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706
# https://github.com/phadej/cabal-fmt/pull/33

# benchmark dependency
- github: HeinrichApfelmus/operational
commit: 16e19aaf34e286f3d27b3988c61040823ec66537
Expand All @@ -127,6 +117,7 @@ flags:
fourmolu: false
stylishHaskell: false
brittany: false
cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down
12 changes: 4 additions & 8 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages:
- ./plugins/hls-tactics-plugin
- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-cabal-fmt-plugin
#- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
- ./plugins/hls-pragmas-plugin
Expand All @@ -47,10 +47,7 @@ extra-deps:
- monad-dijkstra-0.1.1.2
- refinery-0.4.0.0
- retrie-0.1.1.1
- # stylish haskell
github: VeryMilkyJoe/stylish-haskell
commit: 9279aad535de624fca990ed50f010a1743c0043a
#- stylish-haskell-0.12.2.0
- stylish-haskell-0.12.2.0
- semigroups-0.18.5
- temporary-1.2.1.1
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
Expand All @@ -65,9 +62,6 @@ extra-deps:
- lsp-1.2.0.1
- lsp-types-1.3.0.0
- lsp-test-0.14.0.1
- # cabal-fmt
github: VeryMilkyJoe/cabal-fmt
commit: 440a6ad7683b81b8479d79a74a1fa8d79ca5c706

configure-options:
$targets:
Expand All @@ -82,6 +76,8 @@ configure-options:
flags:
haskell-language-server:
pedantic: true

cabalfmt: false
retrie:
BuildExecutable: false
# Stack doesn't support automatic flags.
Expand Down

0 comments on commit e5ed4d8

Please sign in to comment.