-
Notifications
You must be signed in to change notification settings - Fork 10
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
Source in subdirectory of git repository #27
Comments
Ah, so if I add the following to
Is the suggested approach to fork |
I feel like I'm straying into "not |
Ok, I have some tests running. My current understanding is that
I still have to place the Now, So in summary the questions I have:
|
Can you download the latest version of cabal and use the sandbox features and stop using cabal-dev? cabal-meta will probably drop cabal-dev support soon. In a hurry now, will look at the rest soon. |
I should make some of the error messages nicer, but it looks like you figured out how to use cabal-meta :) Analogies with Bundler are dificult to make. sources.txt only helps enhance/override the .cabal file, it can act like a Gemfile to the extent that you use it to specify more exact (sometimes github) versions, but it does not peg everything the way the Gemfile system does. The .cabal file is a gemspec for a Library section of a .cabal file, and an Executable section can be considered a Gemfile without a Gemfile.lock. The You are using a Test-Suite section, so you need to give
You can build the tests individually with the latest version of cabal by typing |
thanks for the explanation! I'll try out sandbox. |
Got sandbox working, I also needed this: |
I am trying to use a custom version of
test-framework
that supports QuickCheck 2.6.batterseapower/test-framework#50
https://github.com/yairchu/test-framework
My
sources.txt
is:I have run into two problems running `cabal-meta --dev install:
Exception: vendor/test-framework/sources.txt: openBinaryFile: does not exist (No such file or directory)
. It's true, that file doesn't exist, and I wouldn't expect it to for the vast majority of packages. I tried just creating this file with a single entry of./
to see if it would continue past.cabal: No cabal file found.
. This file is inside thecore
subdirectory oftest-framework
. Is this supported at all? Can you point me in the right direction in the code to submit a patch?I'm very new to haskell, so apologies if I have things all mixed up. (I'm familiar with bundler though, if that helps at all.)
Thanks!
Xavier
The text was updated successfully, but these errors were encountered: