Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
chore: fix targets example
Browse files Browse the repository at this point in the history
  • Loading branch information
tydeu committed Jul 27, 2022
1 parent bfa94d5 commit 93693d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/targets/lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ lean_exe b
lean_exe c

@[defaultTarget]
target meow : PUnit := Target.opaqueSync (m := BuildM) do
target meow : PUnit := Target.mk <| sync (m := BuildM) do
IO.FS.writeFile (_package.buildDir / "meow.txt") "Meow!"
return default

target bark : PUnit := Target.opaqueSync (m := BuildM) do
target bark : PUnit := Target.mk <| sync (m := BuildM) do
logInfo "Bark!"
return default

Expand Down

0 comments on commit 93693d7

Please sign in to comment.