Skip to content

Commit

Permalink
Make cabal sdist work for crucible-cli{,-llvm}
Browse files Browse the repository at this point in the history
* Neither package's `.cabal` file contains a `README.md` file, so remove
  mention of this file name from the `extra-doc-files`.

* `crucible-cli.cabal` uses double-star syntax (`test-data/**/*.cbl`) in its
  `extra-source-files`, which requires a `cabal-version` or `2.4` or greater.
  Make sure that `crucible-cli.cabal` properly declares this version
  dependency.

Fixes #1209.
  • Loading branch information
RyanGlScott committed Jun 7, 2024
1 parent 20b8dac commit d013eda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crucible-cli/crucible-cli.cabal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cabal-version: 2.2
Cabal-version: 2.4
Name: crucible-cli
Version: 0.1
Author: Galois Inc.
Expand All @@ -10,7 +10,7 @@ Category: Language
Synopsis: A library for sharing code between Crucible CLI frontends
-- Description:

extra-doc-files: CHANGELOG.md, README.md
extra-doc-files: CHANGELOG.md
extra-source-files:
test-data/**/*.cbl
test-data/**/*.out.good
Expand Down
2 changes: 1 addition & 1 deletion crucible-llvm-cli/crucible-llvm-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Category: Language
Synopsis: A Crucible CLI frontend for the LLVM language extension
-- Description:

extra-doc-files: CHANGELOG.md, README.md
extra-doc-files: CHANGELOG.md
extra-source-files:
test-data/*.cbl
test-data/*.out.good
Expand Down

0 comments on commit d013eda

Please sign in to comment.