Skip to content

Add source-repository to all cabal files #3219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ghcide-bench/ghcide-bench.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ homepage: https://github.com/haskell/haskell-language-server/tree/mast
bug-reports: https://github.com/haskell/haskell-language-server/issues
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

executable ghcide-bench
default-language: Haskell2010
build-depends:
Expand Down
4 changes: 4 additions & 0 deletions hie-compat/hie-compat.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ category: Development
homepage: https://github.com/haskell/haskell-language-server/tree/master/hie-compat#readme
bug-reports: https://github.com/haskell/haskell-language-server/issues

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

flag ghc-lib
description: build against ghc-lib instead of the ghc package
default: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ extra-source-files:
test/testdata/*.hs
test/testdata/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.AlternateNumberFormat, Ide.Plugin.Conversion
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-brittany-plugin/hls-brittany-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ extra-source-files:
LICENSE
test/testdata/**/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.2)
buildable: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ extra-source-files:
LICENSE
test/testdata/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.CallHierarchy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ extra-source-files:
test/testdata/*.txt
test/testdata/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.ChangeTypeSignature
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-class-plugin/hls-class-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ extra-source-files:
LICENSE
test/testdata/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-code-range-plugin/hls-code-range-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ extra-source-files:
test/testdata/selection-range/*.yaml
test/testdata/selection-range/*.txt

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
exposed-modules:
Ide.Plugin.CodeRange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ extra-source-files:
LICENSE
test/testdata/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.ExplicitFixity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ extra-source-files:
test/testdata/*.hs
test/testdata/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.ExplicitImports
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-floskell-plugin/hls-floskell-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ extra-source-files:
LICENSE
test/testdata/**/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-gadt-plugin/hls-gadt-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ extra-source-files:
LICENSE
test/testdata/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ extra-source-files:
LICENSE
test/testdata/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.2)
buildable: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-hlint-plugin/hls-hlint-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ extra-source-files:
test/testdata/**/*.hs
test/testdata/**/*.h

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

flag pedantic
description: Enable -Werror
default: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-module-name-plugin/hls-module-name-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ extra-source-files:
test/testdata/**/*.cabal
test/testdata/**/*.project

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.ModuleName
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ extra-source-files:
LICENSE
test/testdata/**/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ extra-source-files:
test/testdata/*.hs
test/testdata/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.Pragmas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ extra-source-files:
test/data/*.hs
test/data/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
exposed-modules: Ide.Plugin.QualifyImportedNames
hs-source-dirs: src
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-refactor-plugin/hls-refactor-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ extra-source-files:
test/data/**/*.hs
test/data/**/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ extra-source-files:
test/testdata/*.hs
test/testdata/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
buildable: True
exposed-modules: Ide.Plugin.RefineImports
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-rename-plugin/hls-rename-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ extra-source-files:
test/testdata/*.hs
test/testdata/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-retrie-plugin/hls-retrie-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ category: Development
build-type: Simple
extra-source-files: LICENSE

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-splice-plugin/hls-splice-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ extra-source-files:
test/testdata/*.hs
test/testdata/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
5 changes: 4 additions & 1 deletion plugins/hls-stan-plugin/hls-stan-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ extra-source-files:
LICENSE
test/testdata/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

flag pedantic
description: Enable -Werror
default: False
manual: True


library
if impl(ghc < 8.8) || impl(ghc >= 9.0)
buildable: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ extra-source-files:
LICENSE
test/testdata/*.hs

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
if impl(ghc >= 9.3)
buildable: False
Expand Down
4 changes: 4 additions & 0 deletions plugins/hls-tactics-plugin/hls-tactics-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ extra-source-files:
test/golden/*.hs
test/golden/*.yaml

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

flag pedantic
description: Enable -Werror
default: False
Expand Down
4 changes: 4 additions & 0 deletions shake-bench/shake-bench.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ build-type: Simple
-- description is a single line so that implicit-hie can parse it
description: A library Shake rules to build and run benchmarks for multiple revisions of a project. An example of usage can be found in the ghcide benchmark suite

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git

library
exposed-modules: Development.Benchmark.Rules
hs-source-dirs: src
Expand Down