Layr

acme / shop

protected main

Merge rules

Derived files are rebuilt after a merge, not merged line by line.

PatternRuleRebuild command
package-lock.jsonderive=npmnpm install --package-lock-only
Cargo.lockderive=cargocargo generate-lockfile --offline
web/dist/**derive=buildnpm --prefix web run build
.layrattributes
package-lock.json derive=npmCargo.lock derive=cargoweb/dist/** derive=build

Caches

Regenerable folders. A new line gets them warm, and they never enter a state.

LineCacheSizeShared
maintarget/1.2 GiBsource
mainweb/node_modules/412 MiBsource
topic-checkouttarget/128 MiByes, changes only
agent-1 … agent-16target/16 × 128 MiByes, changes only
$ cache addlayr cache add target/
$ cache listlayr cache list

Clone shop

Get the project with all lines and states. Data is decrypted on your machine.

layr clone layr+https://cloud.acme.dev/shop