-
Notifications
You must be signed in to change notification settings - Fork 131
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 --offline flag #841
Add --offline flag #841
Conversation
I'm not really sure what should be added to the readme (if anything). It's more likely that Nix tools would update their readme to show how to use this command in their workflow. |
I think we could merge this already, but I'd first like that we figure out a good testing story for this, because if we can't properly test that the changes we introduce are going to continue working, then we are deemed to break them. I don't have many ideas about this though - |
So.... how should I make progress on this? |
Could you mock all network calls so they fail the test right away if called? You could use these mocked calls for the offline mode test only. |
Oh, it looks like we can call a process with So I'd say the next step on this is to fixup a test infrastructure that runs the tests for the offline feature in such wrapper |
Hmm... I should add a second test that verifies |
Dropping the |
@JordanMartinez I see. The location of both Dhall and Spago folders is dependent on the value of the |
Description of the change
Fixes #575
Checklist:
README
P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊