Skip to content

Commit 94181b3

Browse files
committed
Improves build for bundled dependencies
and consolidates build products under top-level .build/
1 parent 487ca05 commit 94181b3

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ services:
2626

2727
cache:
2828
directories:
29-
- .build/submodule
30-
- extern/.build
31-
- $HOME/.ivy2/cache
29+
- .build
3230
- .github-release-assets
31+
- $HOME/.ivy2/cache
3332

3433
env:
3534
global:

extern/buildkit

extern/bundle-runtime-dependencies.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ Submodule="${here#$PWD/}"/buildkit
1616
cd "$here"
1717

1818
# prepare runtime dependencies to bundle
19-
mkdir -p .build
19+
[[ -d .build ]] || {
20+
mkdir -p ../.build/extern
21+
ln -sfnv ../.build/extern .build
22+
}
2023
PATH="$PWD"/buildkit:"$PATH"
2124
buildkit/depends/module.build
2225

0 commit comments

Comments
 (0)