File tree 2 files changed +17
-8
lines changed
2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,11 @@ fullLocalCache {
33
33
clean-build-before = [
34
34
{
35
35
schedule = BUILD
36
- commands = ["rm ", "-rf", "buck-out "]
36
+ commands = ["./buckw ", "clean "]
37
37
},
38
38
{
39
39
schedule = BUILD
40
40
commands = ["./setup_buck.sh"]
41
- },
42
- {
43
- schedule = BUILD
44
- commands = ["./buckw", "build", ".okbuck/ext/..."]
45
41
}
46
42
]
47
43
}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- echo " Generating BUCK project file"
3
+ echo " >>> Generating BUCK project file"
4
4
./gradlew -Dokbuck.wrapper=true okbuck --no-configuration-cache
5
+
6
+ echo " >>> Generating BUCK wrapper"
5
7
./gradlew -Dokbuck.wrapper=true buckWrapper --no-configuration-cache
6
8
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