Skip to content

Commit

Permalink
Rename hls in actual cabal project file
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Jan 24, 2022
1 parent cc330d9 commit 59c26f1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitlab/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fi
# Shorten binary names
sed -i.bak -e 's/haskell-language-server/hls/g' \
-e 's/haskell_language_server/hls/g' \
haskell-language-server.cabal cabal.project
haskell-language-server.cabal $CABAL_PROJECT
sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
src/**/*.hs exe/*.hs

Expand Down
2 changes: 1 addition & 1 deletion cabal-ghc921.project
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ index-state: 2022-01-21T11:23:29Z

constraints:
-- These plugins don't build/work on GHC92 yet
haskell-language-server
hls
+ignore-plugins-ghc-bounds
-alternateNumberFormat
-brittany
Expand Down
34 changes: 17 additions & 17 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cabal-version: 2.4
category: Development
name: haskell-language-server
name: hls
version: 1.5.1.0
synopsis: LSP server for GHC
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Please see the README on GitHub at <https://github.com/haskell/hls#readme>

homepage: https://github.com/haskell/haskell-language-server#readme
bug-reports: https://github.com/haskell/haskell-language-server/issues
homepage: https://github.com/haskell/hls#readme
bug-reports: https://github.com/haskell/hls/issues
author: The Haskell IDE Team
maintainer: alan.zimm@gmail.com
copyright: The Haskell IDE Team
Expand All @@ -30,7 +30,7 @@ flag pedantic

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

common common-deps
build-depends:
Expand Down Expand Up @@ -59,8 +59,8 @@ library
Ide.Main
Ide.Version

other-modules: Paths_haskell_language_server
autogen-modules: Paths_haskell_language_server
other-modules: Paths_hls
autogen-modules: Paths_hls
hs-source-dirs: src
build-depends:
, async
Expand Down Expand Up @@ -89,7 +89,7 @@ library
default-language: Haskell2010
default-extensions: DataKinds, TypeOperators

-- Plugin flags are designed for 'cabal install haskell-language-server':
-- Plugin flags are designed for 'cabal install hls':
-- - Bulk flags should be default:False
-- - Individual flags should be default:True

Expand Down Expand Up @@ -320,7 +320,7 @@ common brittany
build-depends: hls-brittany-plugin ^>=1.0.0.1
cpp-options: -Dbrittany

executable haskell-language-server
executable hls
import: common-deps
-- configuration
, warnings
Expand Down Expand Up @@ -378,7 +378,7 @@ executable haskell-language-server
, ghc-boot-th
, ghcide
, hashable
, haskell-language-server
, hls
, lsp
, hie-bios
, hiedb
Expand All @@ -401,14 +401,14 @@ executable haskell-language-server
default-language: Haskell2010
default-extensions: DataKinds, TypeOperators

executable haskell-language-server-wrapper
executable hls-wrapper
import: common-deps
, warnings
, pedantic
main-is: Wrapper.hs
hs-source-dirs: exe
other-modules: Paths_haskell_language_server
autogen-modules: Paths_haskell_language_server
other-modules: Paths_hls
autogen-modules: Paths_hls
ghc-options:
-threaded
-- allow user RTS overrides
Expand All @@ -423,7 +423,7 @@ executable haskell-language-server-wrapper
, ghc-paths
, ghcide
, gitrev
, haskell-language-server
, hls
, hie-bios
, optparse-applicative
, optparse-simple
Expand All @@ -439,7 +439,7 @@ test-suite func-test
type: exitcode-stdio-1.0
default-language: Haskell2010
build-tool-depends:
haskell-language-server:haskell-language-server -any,
hls:hls -any,
ghcide:ghcide-test-preprocessor -any

build-depends:
Expand Down Expand Up @@ -500,8 +500,8 @@ test-suite wrapper-test
, pedantic
type: exitcode-stdio-1.0
build-tool-depends:
haskell-language-server:haskell-language-server-wrapper -any,
haskell-language-server:haskell-language-server -any
hls:hls-wrapper -any,
hls:hls -any

default-language: Haskell2010
build-depends:
Expand Down

0 comments on commit 59c26f1

Please sign in to comment.