Skip to content

Commit

Permalink
docs: #556
Browse files Browse the repository at this point in the history
- improvement to gcp build docs
  • Loading branch information
srl295 committed Dec 7, 2023
1 parent 7631d20 commit 486d827
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/unicodejsps/gcp-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
mvn -B package -am -pl UnicodeJsps -DskipTests=true
```

- make a copy of CLDR - lots of ways to do this
- make a copy of CLDR - lots of ways to do this. `--reference-if-able ~/src/cldr` is another directory on my disk which has a copy of CLDR, to save copying. The CLDR_REF calculation is to make sure you have the same CLDR version as the build.

```
git clone --reference-if-able ~/src/cldr https://github.com/unicode-org/cldr.git
git clone https://github.com/unicode-org/cldr.git --reference-if-able ~/src/cldr
CLDR_REF=$(mvn help:evaluate -Dexpression=cldr.version -q -DforceStdout | cut -d- -f3)
(cd cldr ; git reset --hard ${CLDR_REF})
mkdir -p UnicodeJsps/target && tar -cpz --exclude=.git -f UnicodeJsps/target/cldr-unicodetools.tgz ./cldr/ ./unicodetools/
```

Expand Down

0 comments on commit 486d827

Please sign in to comment.