Skip to content

Commit

Permalink
reset libuv worktree before build
Browse files Browse the repository at this point in the history
  • Loading branch information
rocka committed Dec 31, 2023
1 parent 213f085 commit cef54b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Rules/LibUV.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ libuvRule = do
"-DLIBUV_BUILD_BENCH=OFF"
],
preBuild = BuildAction $ \_ src -> do
cmd_ (Cwd src) "git checkout ."
cmd_ (Cwd src) "git clean -fd"
-- revive support for android api level 21
cmd_ (Cwd src) "git apply ../patches/libuv.patch"
}
Expand Down

0 comments on commit cef54b2

Please sign in to comment.