Skip to content

Commit 09713c5

Browse files
authored
Fixes #303 (#308)
1 parent 4932558 commit 09713c5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.cli.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
- run: bin/bk test
5454
- run: test $(pkgx +stark.com/foo -- stark) = not_much_u
5555
- run: bin/bk audit
56+
# check build can run twice, see https://github.com/pkgxdev/brewkit/issues/303
57+
- run: bin/bk build
5658

5759

5860
unit-tests:

build/build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ function make_toolchain() {
168168
}
169169

170170
if (host().platform != "darwin") {
171-
const d = config.path.home.join('toolchain').mkdir('p')
171+
// rm ∵ // https://github.com/pkgxdev/brewkit/issues/303
172+
const d = config.path.home.join('toolchain').rm({ recursive: true }).mkdir('p')
172173

173174
const symlink = (names: string[], {to}: {to: string}) => {
174175
for (const name of names) {

0 commit comments

Comments
 (0)