-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ git ] Merge pull request #22 from agda/agda-2.6.4
agda 2.6.4
- Loading branch information
Showing
16 changed files
with
341 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,15 @@ cabal-version: 1.12 | |
-- see: https://github.com/sol/hpack | ||
|
||
name: agda-language-server | ||
version: 0.2.6.3.0 | ||
version: 0.2.6.4.0 | ||
synopsis: An implementation of language server protocal (LSP) for Agda 2. | ||
description: Please see the README on GitHub at <https://github.com/agda/agda-language-server#readme> | ||
category: Development | ||
homepage: https://github.com/banacorn/agda-language-server#readme | ||
bug-reports: https://github.com/banacorn/agda-language-server/issues | ||
author: Ting-Gian LUA | ||
maintainer: [email protected] | ||
copyright: 2020 Author name here :) | ||
maintainer: [email protected], Andreas Abel | ||
copyright: 2020-23 Ting-Gian LUA, Andreas ABEL | ||
license: MIT | ||
license-file: LICENSE | ||
build-type: Simple | ||
|
@@ -25,13 +25,19 @@ extra-source-files: | |
stack-8.10-Agda-2.6.2.2.yaml | ||
stack-9.0-Agda-2.6.2.2.yaml | ||
stack-9.2-Agda-2.6.2.2.yaml | ||
stack-9.2-Agda-2.6.3.yaml | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/banacorn/agda-language-server | ||
|
||
flag Agda-2-6-2-2 | ||
description: Embed Agda-2.6.2.2 (rather than 2.6.3) | ||
description: Embed Agda-2.6.2.2 (rather than 2.6.4) | ||
manual: True | ||
default: False | ||
|
||
flag Agda-2-6-3 | ||
description: Embed Agda-2.6.3 (rather than 2.6.4) | ||
manual: True | ||
default: False | ||
|
||
|
@@ -77,21 +83,29 @@ library | |
, base >=4.7 && <5 | ||
, bytestring | ||
, containers | ||
, lsp <1.7 | ||
, lsp <2 | ||
, lsp-types <2 | ||
, mtl | ||
, network | ||
, network-simple | ||
, prettyprinter | ||
, process | ||
, stm | ||
, strict | ||
, text | ||
default-language: Haskell2010 | ||
if flag(Agda-2-6-2-2) | ||
if flag(Agda-2-6-2-2) && !flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.2.2 | ||
else | ||
if !flag(Agda-2-6-2-2) && flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.3 | ||
if !flag(Agda-2-6-2-2) && !flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.4 | ||
if flag(Agda-2-6-2-2) && flag(Agda-2-6-3) | ||
build-depends: | ||
Agda <0 | ||
|
||
executable als | ||
main-is: Main.hs | ||
|
@@ -111,21 +125,29 @@ executable als | |
, base >=4.7 && <5 | ||
, bytestring | ||
, containers | ||
, lsp <1.7 | ||
, lsp <2 | ||
, lsp-types <2 | ||
, mtl | ||
, network | ||
, network-simple | ||
, prettyprinter | ||
, process | ||
, stm | ||
, strict | ||
, text | ||
default-language: Haskell2010 | ||
if flag(Agda-2-6-2-2) | ||
if flag(Agda-2-6-2-2) && !flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.2.2 | ||
else | ||
if !flag(Agda-2-6-2-2) && flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.3 | ||
if !flag(Agda-2-6-2-2) && !flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.4 | ||
if flag(Agda-2-6-2-2) && flag(Agda-2-6-3) | ||
build-depends: | ||
Agda <0 | ||
|
||
test-suite als-test | ||
type: exitcode-stdio-1.0 | ||
|
@@ -172,10 +194,12 @@ test-suite als-test | |
, base >=4.7 && <5 | ||
, bytestring | ||
, containers | ||
, lsp <1.7 | ||
, lsp <2 | ||
, lsp-types <2 | ||
, mtl | ||
, network | ||
, network-simple | ||
, prettyprinter | ||
, process | ||
, stm | ||
, strict | ||
|
@@ -185,9 +209,15 @@ test-suite als-test | |
, tasty-quickcheck | ||
, text | ||
default-language: Haskell2010 | ||
if flag(Agda-2-6-2-2) | ||
if flag(Agda-2-6-2-2) && !flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.2.2 | ||
else | ||
if !flag(Agda-2-6-2-2) && flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.3 | ||
if !flag(Agda-2-6-2-2) && !flag(Agda-2-6-3) | ||
build-depends: | ||
Agda ==2.6.4 | ||
if flag(Agda-2-6-2-2) && flag(Agda-2-6-3) | ||
build-depends: | ||
Agda <0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: agda-language-server | ||
version: 0.2.6.3.0 | ||
version: 0.2.6.4.0 | ||
github: "banacorn/agda-language-server" | ||
license: MIT | ||
author: "Ting-Gian LUA" | ||
maintainer: "[email protected]" | ||
copyright: "2020 Author name here :)" | ||
maintainer: "[email protected], Andreas Abel" | ||
copyright: "2020-23 Ting-Gian LUA, Andreas ABEL" | ||
|
||
extra-source-files: | ||
- README.md | ||
|
@@ -14,6 +14,7 @@ extra-source-files: | |
- stack-8.10-Agda-2.6.2.2.yaml | ||
- stack-9.0-Agda-2.6.2.2.yaml | ||
- stack-9.2-Agda-2.6.2.2.yaml | ||
- stack-9.2-Agda-2.6.3.yaml | ||
|
||
# Metadata used when publishing your package | ||
synopsis: An implementation of language server protocal (LSP) for Agda 2. | ||
|
@@ -26,33 +27,44 @@ description: Please see the README on GitHub at <https://github.com/agda | |
|
||
flags: | ||
Agda-2-6-2-2: | ||
description: Embed Agda-2.6.2.2 (rather than 2.6.3) | ||
description: Embed Agda-2.6.2.2 (rather than 2.6.4) | ||
manual: true | ||
default: false | ||
Agda-2-6-3: | ||
description: Embed Agda-2.6.3 (rather than 2.6.4) | ||
manual: true | ||
default: false | ||
|
||
when: | ||
- condition: flag(Agda-2-6-2-2) | ||
then: | ||
dependencies: | ||
- condition: "flag(Agda-2-6-2-2) && !flag(Agda-2-6-3)" | ||
dependencies: | ||
- Agda == 2.6.2.2 | ||
else: | ||
dependencies: | ||
- condition: "!flag(Agda-2-6-2-2) && flag(Agda-2-6-3)" | ||
dependencies: | ||
- Agda == 2.6.3 | ||
- condition: "!flag(Agda-2-6-2-2) && !flag(Agda-2-6-3)" | ||
dependencies: | ||
- Agda == 2.6.4 | ||
- condition: "flag(Agda-2-6-2-2) && flag(Agda-2-6-3)" | ||
dependencies: | ||
- Agda < 0 | ||
|
||
dependencies: | ||
- base >= 4.7 && < 5 | ||
- Agda | ||
- aeson | ||
- bytestring | ||
- containers | ||
- lsp < 1.7 | ||
- lsp-types < 2 | ||
- lsp < 2 | ||
- mtl | ||
- network | ||
- network-simple | ||
- strict | ||
- stm | ||
- text | ||
- process | ||
- prettyprinter | ||
|
||
default-extensions: | ||
- LambdaCase | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.