-
Notifications
You must be signed in to change notification settings - Fork 50
Getting cabal build working with modern GHC #79
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
packages: language-python/ | ||
language-python-test/ | ||
packages: | ||
language-python | ||
language-python-test | ||
|
||
|
||
with-compiler: ghc-9.8.4 | ||
|
||
tests: True | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: language-python-test | ||
version: 0.6.0 | ||
version: 0.6.2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why does this PR contain a version bump? |
||
cabal-version: >= 1.8 | ||
synopsis: testing code for the language-python library | ||
description: A few executables to test the language-python library. | ||
|
@@ -14,6 +14,7 @@ build-type: Simple | |
stability: experimental | ||
|
||
tested-with: | ||
GHC == 9.8.4 | ||
GHC == 9.6.1 | ||
GHC == 9.4.4 | ||
GHC == 9.2.7 | ||
|
@@ -35,18 +36,18 @@ Executable language-python-roundtrip | |
./src | ||
main-is: RoundTrip.hs | ||
other-modules: | ||
build-depends: base == 4.*, language-python == 0.6.0 | ||
build-depends: base == 4.*, language-python == 0.6.2 | ||
|
||
Executable language-python-tokens | ||
hs-source-dirs: | ||
./src | ||
main-is: Tokens.hs | ||
other-modules: | ||
build-depends: base == 4.*, language-python == 0.6.0 | ||
build-depends: base == 4.*, language-python == 0.6.2 | ||
|
||
Executable language-python-parse-pretty | ||
hs-source-dirs: | ||
./src | ||
main-is: ParsePretty.hs | ||
other-modules: | ||
build-depends: base == 4.*, language-python == 0.6.0 | ||
build-depends: base == 4.*, language-python == 0.6.2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: language-python | ||
version: 0.6.0 | ||
version: 0.6.2 | ||
cabal-version: >= 1.8 | ||
synopsis: Parsing and pretty printing of Python code. | ||
description: language-python is a Haskell library for lexical analysis, parsing | ||
|
@@ -16,6 +16,7 @@ stability: experimental | |
extra-source-files: Changelog.md | ||
|
||
tested-with: | ||
GHC == 9.8.4 | ||
GHC == 9.6.1 | ||
GHC == 9.4.4 | ||
GHC == 9.2.7 | ||
|
@@ -41,9 +42,10 @@ Library | |
pretty == 1.1.*, | ||
array >= 0.4 && < 0.6, | ||
transformers >= 0.3 && < 0.7, | ||
monads-tf == 0.1.*, | ||
monads-tf == 0.3.*, | ||
utf8-string >= 1 && < 2 | ||
build-tools: happy, alex | ||
build-tools: happy >= 1.20, alex | ||
build-tool-depends: happy:happy | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One should not have both |
||
exposed-modules: | ||
Language.Python.Common | ||
Language.Python.Common.ParseError | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
resolver: lts-10.2 | ||
resolver: lts-23.19 | ||
|
||
packages: | ||
- . | ||
|
||
extra-deps: [] | ||
|
||
system-ghc: false | ||
install-ghc: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why hardwire these settings here? |
||
|
||
# Override default flag values for local packages and extra-deps | ||
# flags: {} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why hardwire the compiler version here?