Skip to content

Commit 04750e8

Browse files
Update README file to fix Buck setup
1 parent 09c470f commit 04750e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ When building these project, we voluntarily disable lint, error prone and annota
2121

2222
Also, we're not using build network cache, nor remote build execution (Bazel).
2323

24-
### Pre-requisite to building each project
24+
### Setup
2525

2626
- Make sure Bazel is installed, and is on the PATH (<https://docs.bazel.build/versions/master/install.html>)
27-
- Disable OkBuck : `export SKIP_OKBUCK=1`. This will prevent OkBuck to regenerate Buck files at the beginning of builds.
28-
- Change directory to mobile app folder.
27+
- Change directory to mobile app folder : `cd mobile_app1`
28+
- Generate OkBuck files : `SKIP_OKBUCK=0 ./gradlew -Dokbuck.wrapper=true okbuck --no-configuration-cache`
2929

3030
### How to build a project
3131

@@ -35,7 +35,7 @@ Also, we're not using build network cache, nor remote build execution (Bazel).
3535

3636
### How to run benchmark for a project
3737

38-
- `./benchmark.sh`
38+
- `export SKIP_OKBUCK=1; ./benchmark.sh`
3939

4040
Build time report will be generated in the /output/<timestamp> folder.
4141

0 commit comments

Comments
 (0)