File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ builder_describe_outputs \
4141
4242# ### Build action definitions ####
4343
44+ do_clean () {
45+ rm -rf " $KEYMAN_ROOT /web/build/$SUBPROJECT_NAME "
46+ rm -rf " $KEYMAN_ROOT /web/build/publish"
47+ }
48+
4449compile_and_copy () {
4550 local COMPILE_FLAGS=
4651 if builder_has_option --ci; then
@@ -61,7 +66,7 @@ compile_and_copy() {
6166}
6267
6368builder_run_action configure verify_npm_setup
64- builder_run_action clean rm -rf " $KEYMAN_ROOT /web/build/ $SUBPROJECT_NAME "
69+ builder_run_action clean do_clean
6570builder_run_action build compile_and_copy
6671
6772# No headless tests for this child project. Currently, DOM-based unit &
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ builder_describe_outputs \
4040
4141# ### Build action definitions ####
4242
43+ do_clean () {
44+ rm -rf " $KEYMAN_ROOT /web/build/$SUBPROJECT_NAME "
45+ rm -rf " $KEYMAN_ROOT /web/build/publish"
46+ }
47+
4348compile_and_copy () {
4449 compile $SUBPROJECT_NAME
4550
@@ -51,7 +56,7 @@ compile_and_copy() {
5156}
5257
5358builder_run_action configure verify_npm_setup
54- builder_run_action clean rm -rf " $KEYMAN_ROOT /web/build/ $SUBPROJECT_NAME "
59+ builder_run_action clean do_clean
5560builder_run_action build compile_and_copy
5661
5762# No headless tests for this child project. Currently, DOM-based unit &
You can’t perform that action at this time.
0 commit comments