Commit c4bb242
gen: use envvars to specify deps' locations
This updates the "gen" script by adding a pair of environment variables
that allow developers to control where the script looks for two required
dependencies: jextract and libcue. Defaults are set up so that when the
variables aren't present the script's behaviour doesn't change,
Also: tidy up and add comments.
Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: Iaabdca1496f541aa7c22315be9b8669ac51ec5fd
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue-api-java/+/1199055
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Daniel Martí <[email protected]>1 parent 2f61332 commit c4bb242
1 file changed
+16
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | | - | |
11 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | | - | |
| 21 | + | |
0 commit comments