Skip to content

Commit 18d7ca7

Browse files
committed
jsp: add ucd copies during build
- shell script UnicodeJsps/update-bidic-ucd.sh to add files under src/main/resources/org/unicode/jsp/bidiref1/ucd - run that script during automated build - update docs UnicodeJsps/src/main/resources/org/unicode/jsp/bidiref1/ReadMe.txt for manual use Fixes #201
1 parent 39a1a87 commit 18d7ca7

17 files changed

+30
-200932
lines changed

.github/workflows/build-jsp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ jobs:
6363
name: UnicodeJsps
6464
path: UnicodeJsps/target/UnicodeJsps.war
6565
- name: build docker image
66-
run: cd UnicodeJsps && docker build .
66+
run: cd UnicodeJsps && bash update-bidic-ucd.sh && docker build .
6767

.github/workflows/push-jsp-on-tag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
with:
3535
name: UnicodeJsps
3636
path: UnicodeJsps/target/UnicodeJsps.war
37+
- name: setup ucd txt
38+
run: cd UnicodeJsps && bash update-bidic-ucd.sh
3739
- name: Get the version
3840
id: get_tag_name
3941
run: echo ::set-output name=GIT_TAG_NAME::${GITHUB_REF/refs\/tags\//}

UnicodeJsps/src/main/resources/org/unicode/jsp/bidiref1/ReadMe.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ bidiref1 executable have been merged into the C Reference itself, the
88
copies have been deleted. They can be obtained from the C Reference
99
under http://www.unicode.org/Public/PROGRAMS/BidiReferenceC/
1010

11+
If you want to copy the .txt files in locally, run this script:
12+
13+
$ cd UnicodeJsps
14+
$ sh update-bidic-ucd.sh
15+
1116
For example, for Version 11.0, the file tree would be as follows:
1217

1318
unicodetools-trunk/UnicodeJsps/src/org/unicode/jsp/bidiref1

UnicodeJsps/src/main/resources/org/unicode/jsp/bidiref1/ucd/BidiBrackets-10.0.0.txt

Lines changed: 0 additions & 185 deletions
This file was deleted.

UnicodeJsps/src/main/resources/org/unicode/jsp/bidiref1/ucd/BidiBrackets-11.0.0.txt

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)