File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed
Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,11 @@ fullLocalCache {
3333 clean-build-before = [
3434 {
3535 schedule = BUILD
36- commands = ["rm ", "-rf", "buck-out "]
36+ commands = ["./buckw ", "clean "]
3737 },
3838 {
3939 schedule = BUILD
4040 commands = ["./setup_buck.sh"]
41- },
42- {
43- schedule = BUILD
44- commands = ["./buckw", "build", ".okbuck/ext/..."]
4541 }
4642 ]
4743 }
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- echo " Generating BUCK project file"
3+ echo " >>> Generating BUCK project file"
44./gradlew -Dokbuck.wrapper=true okbuck --no-configuration-cache
5+
6+ echo " >>> Generating BUCK wrapper"
57./gradlew -Dokbuck.wrapper=true buckWrapper --no-configuration-cache
68
7- echo " Testing BUCK project"
8- ./buckw query rootModule
9+ echo " >>> Shutting down Gradle daemon"
10+ ./gradlew --stop
11+
12+ if [[ -n " ${DEVPOD_ENVIRONMENT} " ]]; then
13+ echo " >>> Waiting for buckw lock. Issue with devpod machine only."
14+ sleep 60
15+ fi
16+
17+ echo " >>> Prefetching external dependencies"
18+ SKIP_OKBUCK=0 ./buckw build .okbuck/ext/...
19+
20+
21+
You can’t perform that action at this time.
0 commit comments