-
Notifications
You must be signed in to change notification settings - Fork 845
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
Offline builds #359
Comments
I am trying to cache my dependencies for a continuous integration build. So I tried using Would it make sense to have a A somewhat related note is that Another option would be to dedicate a separate top-level command: |
Did you see the --only-snapshot flag? |
yes, that is what I was looking for! I can confirm that |
The |
How would stack be able to know which build plan and packages to download in advance in that case? |
I'm wondering if things could be cached from other prior builds at a higher level. For example, my prior project build has a certain set of dependencies that were downloaded, so if my new project has a subset of those dependencies then what would prevent me from using those artifacts? If stack is running 'offline', look in the local project cache, if nothing there, goto the next level cache (a user-level cache?), and if missing information then fail. Doing some experimenting, if I create an empty cabal file (contents of: "") it already goes to the internet to get |
It's only |
Potential approach: #3813 |
Hi All, I am very new on ducling using stack. I had installed duckling on windows but don't know to run . Anyone knows how to run it. I am very new to it. Could you please let me know how to run ducling as local host Thanks in advance |
@neerajb1 this is the repository for Stack the build tool, not the Duckling project. We can't tell you how to run Duckling, you'll need to ask them. |
Would it be possible to support offline builds where
stack
commands just rely on cached downloads? I cannot do any builds while I'm traveling to/from work. 😭 🐼The text was updated successfully, but these errors were encountered: