File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
doc/tutorials/dune-package-management Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,12 @@ use new versions of their dependencies. However some projects might want to
99keep a fixed set of dependencies that is only updated manually. This can be
1010done in multiple ways.
1111
12- ## Create a lock directory
12+ ## Create a lock directory manually
1313
14- Dune locks dependencies by creating lock directories. The default lock
15- directory is called ` dune.lock ` . To create a lock, run
14+ Dune resolves dependencies by creating an internal lock directory
15+ automatically. However, if an manually created lock directory exists in the
16+ source, Dune will use that one instead. The default name of said lock directory
17+ is ` dune.lock ` , and it can be created manually:
1618
1719```
1820$ dune pkg lock
@@ -24,7 +26,7 @@ Solution for dune.lock:
2426
2527Whenever Dune encounters a ` dune.lock ` folder, it will use the set of
2628dependencies defined in the lock. The lock will not be updated until a user
27- relocks by running ` dune pkg lock ` again.
29+ creates a new lock by running ` dune pkg lock ` again.
2830
2931On the next build, Dune will read the solution from the ` dune.lock ` directory,
3032download and build the dependencies and then continue on building the project
You can’t perform that action at this time.
0 commit comments