Skip to content

Commit e5de77e

Browse files
committed
fix: set "build' when building ltar
1 parent 659e8bb commit e5de77e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/lake/Lake/Build/Module.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,7 @@ def Module.recBuildLtar (self : Module) : FetchM (Job FilePath) := do
871871
modify ({· with wantsRebuild := true})
872872
error "archive does not exist and needs to be built"
873873
else
874+
updateAction .build
874875
self.packLtar arts
875876
newTrace s!"{self.name.toString}:ltar"
876877
addTrace art.trace

tests/lake/tests/ltar/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test_err "archive does not exist and needs to be built" \
1919
build +Test:ltar --no-build -v
2020

2121
# Test the build of the `ltar` facet
22-
test_run build +Test:ltar -v
22+
test_out "Built Test:ltar" build +Test:ltar -v
2323
test_exp -f .lake/build/ir/Test.ltar
2424

2525
# Test that Lake unpacks the archive if the module's artifacts are missing

0 commit comments

Comments
 (0)