Skip to content
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

add-from-github requires listing all subdirs #43

Open
michaelpj opened this issue Oct 11, 2022 · 3 comments
Open

add-from-github requires listing all subdirs #43

michaelpj opened this issue Oct 11, 2022 · 3 comments

Comments

@michaelpj
Copy link
Contributor

~/projects/iohk/cardano-haskell-packages mpj/plutus-and-ledger-releases ⇡1 ❯ ./scripts/add-from-github.sh -v 0.1.1.0 https://github.com/input-output-hk/cardano-ledger 26849193788a38479367799cbb249699ac952bab                                                                                                      ✘ INT
Work directory is /tmp/tmp.PawlrJcTic
/tmp/tmp.PawlrJcTic ~/projects/iohk/cardano-haskell-packages
Fetching https://github.com/input-output-hk/cardano-ledger at revision 26849193788a38479367799cbb249699ac952bab
~/projects/iohk/cardano-haskell-packages
awk: fatal: cannot open file `/tmp/tmp.PawlrJcTic//*.cabal' for reading: No such file or directory
@michaelpj
Copy link
Contributor Author

I guess you have to pass subdirs? Would be nice if it could get it from cabal.project

@andreabedini
Copy link
Contributor

Yes, we have to pass subdirs. I always preferred explicit to implicit (also parsing cabal.project is not trivial, one might as well find all the cabal files).

@andreabedini andreabedini changed the title add-from-github can't handle cardano-ledger add-from-github requires listing all subdirs Dec 13, 2022
@JaredCorduan
Copy link
Contributor

It would be nice if the script checked to see if the user passed at least one subdir to the script, and returned a helpful error message if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants