chore(web): Add configure step to copy font

This commit is contained in:
Darcy Wong 2023-11-13 20:43:03 +07:00
parent 799a84579a
commit f372936c34
2 changed files with 8 additions and 1 deletions

View file

@ -36,7 +36,12 @@ builder_parse "$@"
#### Build action definitions ####
builder_run_action configure verify_npm_setup
if builder_start_action configure; then
verify_npm_setup
cp "$KEYMAN_ROOT/common/resources/fonts/keymanweb-osk.ttf" "$KEYMAN_ROOT/web/src/resources/osk/"
builder_finish_action success configure
fi
builder_run_action clean rm -rf "$KEYMAN_ROOT/web/build/$SUBPROJECT_NAME"
builder_run_action build compile $SUBPROJECT_NAME
builder_run_action test test-headless osk

2
web/src/resources/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
# Copied from configure
keymanweb-osk.ttf