You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-13Lines changed: 4 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1374,14 +1374,6 @@ workspace:
1374
1374
- "arg2"
1375
1375
- "arg3"
1376
1376
1377
-
# Optional setting to enable the "lockfile". Enabling it will generate
1378
-
# a `spago.lock` file with a cache of the build plan.
1379
-
# It's disabled by default when using package sets (because we already
1380
-
# get a stable build plan from there) and enabled by default when using
1381
-
# the Registry solver.
1382
-
# See "The lock file" section for more details.
1383
-
lock: false
1384
-
1385
1377
# Optional section to further customise the build.
1386
1378
buildOpts:
1387
1379
# Directory for the compiler products - optional, defaults to `output`.
@@ -1587,11 +1579,10 @@ package:
1587
1579
1588
1580
### The lock file
1589
1581
1590
-
The lock file is a file that Spago can generate to cache the build plan, so that it can be reused in subsequent builds.
1591
-
1592
-
When using package sets it is disabled by default - since we already get a stable build plan from there - while it's enabled by default when using the Registry solver.
1593
-
1594
-
You can enable it manually by adding a `lock: true` field to the `workspace` section of your `spago.yaml` file, and that will keep it on regardless of which solving mode you're using.
1582
+
The lock file (`spago.lock`) is a file that is generated by Spago in order to
1583
+
ensure reproducible builds. It tracks the exact dependency tree of a package
1584
+
along with other metadata, such as integrity hashes, and should be committed to
0 commit comments