Skip to content

Commit 82d0b69

Browse files
committed
[ fix ] Remove deprecated extra-source-files
1 parent 107e56e commit 82d0b69

File tree

2 files changed

+22
-45
lines changed

2 files changed

+22
-45
lines changed

agda-language-server.cabal

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,26 @@ extra-source-files:
2222
CHANGELOG.md
2323
package.yaml
2424
stack.yaml
25-
stack-9.2-Agda-2.6.2.2.yaml
2625
stack-9.2-Agda-2.6.3.yaml
27-
stack-9.2-Agda-2.6.4.yaml
2826
stack-9.2-Agda-2.6.4.3.yaml
27+
stack-9.2-Agda-2.7.0.1.yaml
2928

3029
source-repository head
3130
type: git
3231
location: https://github.com/banacorn/agda-language-server
3332

34-
flag Agda-2-6-2-2
35-
description: Embed Agda-2.6.2.2
36-
manual: True
37-
default: False
38-
3933
flag Agda-2-6-3
4034
description: Embed Agda-2.6.3
4135
manual: True
4236
default: False
4337

44-
flag Agda-2-6-4
45-
description: Embed Agda-2.6.4
38+
flag Agda-2-6-4-3
39+
description: Embed Agda-2.6.4.3
4640
manual: True
4741
default: False
4842

49-
flag Agda-2-6-4-3
50-
description: Embed Agda-2.6.4.3
43+
flag Agda-2-7-0-1
44+
description: Embed Agda-2.7.0.1
5145
manual: True
5246
default: False
5347

@@ -108,18 +102,15 @@ library
108102
, text
109103
, text-icu
110104
default-language: Haskell2010
111-
if flag(Agda-2-6-2-2)
112-
build-depends:
113-
Agda ==2.6.2.2
114105
if flag(Agda-2-6-3)
115106
build-depends:
116107
Agda ==2.6.3
117-
if flag(Agda-2-6-4)
118-
build-depends:
119-
Agda ==2.6.4
120108
if flag(Agda-2-6-4-3)
121109
build-depends:
122110
Agda ==2.6.4.3
111+
if flag(Agda-2-7-0-1)
112+
build-depends:
113+
Agda ==2.7.0.1
123114

124115
executable als
125116
main-is: Main.hs
@@ -154,18 +145,15 @@ executable als
154145
, text
155146
, text-icu
156147
default-language: Haskell2010
157-
if flag(Agda-2-6-2-2)
158-
build-depends:
159-
Agda ==2.6.2.2
160148
if flag(Agda-2-6-3)
161149
build-depends:
162150
Agda ==2.6.3
163-
if flag(Agda-2-6-4)
164-
build-depends:
165-
Agda ==2.6.4
166151
if flag(Agda-2-6-4-3)
167152
build-depends:
168153
Agda ==2.6.4.3
154+
if flag(Agda-2-7-0-1)
155+
build-depends:
156+
Agda ==2.7.0.1
169157

170158
test-suite als-test
171159
type: exitcode-stdio-1.0
@@ -233,15 +221,12 @@ test-suite als-test
233221
, text
234222
, text-icu
235223
default-language: Haskell2010
236-
if flag(Agda-2-6-2-2)
237-
build-depends:
238-
Agda ==2.6.2.2
239224
if flag(Agda-2-6-3)
240225
build-depends:
241226
Agda ==2.6.3
242-
if flag(Agda-2-6-4)
243-
build-depends:
244-
Agda ==2.6.4
245227
if flag(Agda-2-6-4-3)
246228
build-depends:
247229
Agda ==2.6.4.3
230+
if flag(Agda-2-7-0-1)
231+
build-depends:
232+
Agda ==2.7.0.1

package.yaml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ extra-source-files:
1111
- CHANGELOG.md
1212
- package.yaml
1313
- stack.yaml
14-
- stack-9.2-Agda-2.6.2.2.yaml
1514
- stack-9.2-Agda-2.6.3.yaml
16-
- stack-9.2-Agda-2.6.4.yaml
1715
- stack-9.2-Agda-2.6.4.3.yaml
16+
- stack-9.2-Agda-2.7.0.1.yaml
1817

1918
# Metadata used when publishing your package
2019
synopsis: An implementation of language server protocal (LSP) for Agda 2.
@@ -26,36 +25,29 @@ category: Development
2625
description: Please see the README on GitHub at <https://github.com/agda/agda-language-server#readme>
2726

2827
flags:
29-
Agda-2-6-2-2:
30-
description: Embed Agda-2.6.2.2
31-
manual: true
32-
default: false
3328
Agda-2-6-3:
3429
description: Embed Agda-2.6.3
3530
manual: true
3631
default: false
37-
Agda-2-6-4:
38-
description: Embed Agda-2.6.4
39-
manual: true
40-
default: false
4132
Agda-2-6-4-3:
4233
description: Embed Agda-2.6.4.3
4334
manual: true
4435
default: false
36+
Agda-2-7-0-1:
37+
description: Embed Agda-2.7.0.1
38+
manual: true
39+
default: false
4540

4641
when:
47-
- condition: "flag(Agda-2-6-2-2)"
48-
dependencies:
49-
- Agda == 2.6.2.2
5042
- condition: "flag(Agda-2-6-3)"
5143
dependencies:
5244
- Agda == 2.6.3
53-
- condition: "flag(Agda-2-6-4)"
54-
dependencies:
55-
- Agda == 2.6.4
5645
- condition: "flag(Agda-2-6-4-3)"
5746
dependencies:
5847
- Agda == 2.6.4.3
48+
- condition: "flag(Agda-2-7-0-1)"
49+
dependencies:
50+
- Agda == 2.7.0.1
5951
# - condition: "flag(Agda-2-6-2-2) && flag(Agda-2-6-3)"
6052
# dependencies:
6153
# - Agda < 0

0 commit comments

Comments
 (0)