Skip to content

Commit c422cf3

Browse files
authored
Add source-repository to all cabal files (#3219)
Add a source-repository stanza to any .cabal files in the project that are missing it. This metadata can be useful for package maintainers. See: https://cabal.readthedocs.io/en/stable/cabal-package.html#source-repositories Signed-off-by: hololeap <[email protected]> Signed-off-by: hololeap <[email protected]>
1 parent fd1a7d1 commit c422cf3

File tree

27 files changed

+108
-1
lines changed

27 files changed

+108
-1
lines changed

ghcide-bench/ghcide-bench.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ homepage: https://github.com/haskell/haskell-language-server/tree/mast
1414
bug-reports: https://github.com/haskell/haskell-language-server/issues
1515
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4
1616

17+
source-repository head
18+
type: git
19+
location: https://github.com/haskell/haskell-language-server.git
20+
1721
executable ghcide-bench
1822
default-language: Haskell2010
1923
build-depends:

hie-compat/hie-compat.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ category: Development
1717
homepage: https://github.com/haskell/haskell-language-server/tree/master/hie-compat#readme
1818
bug-reports: https://github.com/haskell/haskell-language-server/issues
1919

20+
source-repository head
21+
type: git
22+
location: https://github.com/haskell/haskell-language-server.git
23+
2024
flag ghc-lib
2125
description: build against ghc-lib instead of the ghc package
2226
default: False

plugins/hls-alternate-number-format-plugin/hls-alternate-number-format-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ extra-source-files:
1717
test/testdata/*.hs
1818
test/testdata/*.yaml
1919

20+
source-repository head
21+
type: git
22+
location: https://github.com/haskell/haskell-language-server.git
23+
2024
library
2125
buildable: True
2226
exposed-modules: Ide.Plugin.AlternateNumberFormat, Ide.Plugin.Conversion

plugins/hls-brittany-plugin/hls-brittany-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ extra-source-files:
1616
LICENSE
1717
test/testdata/**/*.hs
1818

19+
source-repository head
20+
type: git
21+
location: https://github.com/haskell/haskell-language-server.git
22+
1923
library
2024
if impl(ghc >= 9.2)
2125
buildable: False

plugins/hls-call-hierarchy-plugin/hls-call-hierarchy-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ extra-source-files:
1515
LICENSE
1616
test/testdata/*.hs
1717

18+
source-repository head
19+
type: git
20+
location: https://github.com/haskell/haskell-language-server.git
21+
1822
library
1923
buildable: True
2024
exposed-modules: Ide.Plugin.CallHierarchy

plugins/hls-change-type-signature-plugin/hls-change-type-signature-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ extra-source-files:
1818
test/testdata/*.txt
1919
test/testdata/*.yaml
2020

21+
source-repository head
22+
type: git
23+
location: https://github.com/haskell/haskell-language-server.git
24+
2125
library
2226
buildable: True
2327
exposed-modules: Ide.Plugin.ChangeTypeSignature

plugins/hls-class-plugin/hls-class-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ extra-source-files:
2020
LICENSE
2121
test/testdata/*.hs
2222

23+
source-repository head
24+
type: git
25+
location: https://github.com/haskell/haskell-language-server.git
26+
2327
library
2428
if impl(ghc >= 9.3)
2529
buildable: False

plugins/hls-code-range-plugin/hls-code-range-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ extra-source-files:
2020
test/testdata/selection-range/*.yaml
2121
test/testdata/selection-range/*.txt
2222

23+
source-repository head
24+
type: git
25+
location: https://github.com/haskell/haskell-language-server.git
26+
2327
library
2428
exposed-modules:
2529
Ide.Plugin.CodeRange

plugins/hls-explicit-fixity-plugin/hls-explicit-fixity-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ extra-source-files:
1515
LICENSE
1616
test/testdata/*.hs
1717

18+
source-repository head
19+
type: git
20+
location: https://github.com/haskell/haskell-language-server.git
21+
1822
library
1923
buildable: True
2024
exposed-modules: Ide.Plugin.ExplicitFixity

plugins/hls-explicit-imports-plugin/hls-explicit-imports-plugin.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ extra-source-files:
1515
test/testdata/*.hs
1616
test/testdata/*.yaml
1717

18+
source-repository head
19+
type: git
20+
location: https://github.com/haskell/haskell-language-server.git
21+
1822
library
1923
buildable: True
2024
exposed-modules: Ide.Plugin.ExplicitImports

0 commit comments

Comments
 (0)