Skip to content

Commit

Permalink
Remove >= from cabal-version (#1998)
Browse files Browse the repository at this point in the history
Fixes warnings like:

```
Warning: test/testdata/testdata.cabal:3:27: Packages with
'cabal-version:
1.12' or later should specify a specific version of the Cabal spec of
  the form
  'cabal-version: x.y'. Use 'cabal-version: 2.0'.
```

Co-authored-by: Potato Hatsue <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 5, 2021
1 parent 47db34f commit ce15ff6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion install/hls-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ author: Many, TBD when we release
maintainer: [email protected]
copyright: 2019
build-type: Simple
cabal-version: >=2.0
cabal-version: 2.0

library
hs-source-dirs: src
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/completion/completions.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: completions
version: 0.1.0.0
cabal-version: >= 2.0
cabal-version: 2.0
build-type: Simple

executable compl-exe
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/definition/definitions.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: definitions
version: 0.1.0.0
cabal-version: >= 2.0
cabal-version: 2.0
build-type: Simple

library
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/testdata.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: testdata
version: 0.1.0.0
cabal-version: >=2.0
cabal-version: 2.0
build-type: Simple

executable codeactionrename
Expand Down

0 comments on commit ce15ff6

Please sign in to comment.