-
Notifications
You must be signed in to change notification settings - Fork 323
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
Development Workflow #733
Comments
I also wonder about this. If you do want to build benchmarks, there is still a hacky way to avoid rebuilding criterion, which is to rename the version of aeson you're working on so that criterion doesn't depend on it. I don't know whether there is a more principled solution. +1 to having this documented somewhere. |
I usually use ghci while developing. For stack: The tests are run with tasty, I forget how you filter which tests to run, but it seems to be possible e.g. using It think CONTRIBUTING.md is a good place for this info. Thanks in advance |
You can apply cmd line args inside ghci using |
@bergmark also
|
oh, nice! |
Also adding |
Summarize notes discussed at haskell#733
With the latest changes on master, I am currently seeing this error. Any tips on how to handle this would be appreciated!
|
Ah sorry, I forgot that i updated it locally. Try this:
|
Thanks, that works. Shouldn't this change be on master? |
Indeed it should |
* Add section on Development Workflow * Referenced issue #773 to provide additional context, * Add section on Development Workflow Summarize notes discussed at #733 * clean up CONTRIBUTING.md * Update stack-nightly The update required to accommodate changes to version of Diff packages. * rollback changes to stack nightly * update stack-nightly.yaml. Required to be compatible with changes done on issue PR #729 * update CONTRIBUTING.md with accurate listing the yaml files, clarify instructions * add command line details in CONTRIBUTING.md * Add cabal-install instructions Co-authored-by: Adam Bergmark <adam@bergmark.nl>
Resolved by #736 |
One challenge I have had while making incremental changes to the code base was that running
stack build
orstack test
takes a while. What is the workflow other contributors follow in these scenarios?At the least, when I run
stack test
, I would like to have a way to just run specific tests or just tests within a particular scope. Currently, when I runstack test
,a lot of time is spent in building libraries likecriterion
and 'statistics`. Is there a way to turn them off as needed.Overall, I would like to contribute to a document (assuming this is not there already) that describes a development workflow which other contributors could use. Can someone point me to any resources or share their workflow. I can create a document by compiling those.
The text was updated successfully, but these errors were encountered: