mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 10:25:32 +00:00
chore(web): removes 'action :target' space from old shell script
This commit is contained in:
parent
904f815653
commit
301f6b47c5
1 changed files with 12 additions and 12 deletions
|
|
@ -24,40 +24,40 @@ builder_parse "$@"
|
|||
|
||||
builder_describe_outputs \
|
||||
configure /node_modules \
|
||||
build:fixture /common/web/gesture-recognizer/build/tools/host-fixture.mjs \
|
||||
build:fixture /common/web/gesture-recognizer/build/tools/host-fixture.html \
|
||||
build:recorder /common/web/gesture-recognizer/src/tools/recorder/build/recorder.mjs \
|
||||
build:test-module /common/web/gesture-recognizer/build/tools/lib/index.mjs
|
||||
|
||||
# TODO: build if out-of-date if test is specified
|
||||
# TODO: configure if npm has not been run, and build is specified
|
||||
|
||||
if builder_start_action clean :recorder; then
|
||||
if builder_start_action clean:recorder; then
|
||||
rm -rf ./recorder/build
|
||||
builder_finish_action success clean :recorder
|
||||
builder_finish_action success clean:recorder
|
||||
fi
|
||||
|
||||
if builder_start_action clean :fixture; then
|
||||
if builder_start_action clean:fixture; then
|
||||
rm -f ../../build/tools/host-fixture.html
|
||||
rm -f ../../build/tools/gestureHost.css
|
||||
builder_finish_action success clean :fixture
|
||||
fi
|
||||
|
||||
if builder_start_action clean :test-module; then
|
||||
if builder_start_action clean:test-module; then
|
||||
rm -rf ../../build/tools/*.ts*
|
||||
rm -rf ../../build/tools/*.js*
|
||||
builder_finish_action success clean :test-module
|
||||
builder_finish_action success clean:test-module
|
||||
fi
|
||||
|
||||
if builder_start_action build :fixture; then
|
||||
if builder_start_action build:fixture; then
|
||||
if [ ! -d ../../build/tools ]; then
|
||||
mkdir -p ../../build/tools
|
||||
fi
|
||||
./host-fixture/extract-fixture.sh > ../../build/tools/host-fixture.html
|
||||
cp ./host-fixture/gestureHost.css ../../build/tools/gestureHost.css
|
||||
builder_finish_action success build :fixture
|
||||
builder_finish_action success build:fixture
|
||||
fi
|
||||
|
||||
if builder_start_action build :recorder; then
|
||||
if builder_start_action build:recorder; then
|
||||
if [ ! -d recorder/build ]; then
|
||||
mkdir -p recorder/build
|
||||
fi
|
||||
|
|
@ -71,13 +71,13 @@ if builder_start_action build :recorder; then
|
|||
pushd recorder >/dev/null
|
||||
node update-index.cjs build/index.html
|
||||
popd >/dev/null
|
||||
builder_finish_action success build :recorder
|
||||
builder_finish_action success build:recorder
|
||||
fi
|
||||
|
||||
if builder_start_action build :test-module; then
|
||||
if builder_start_action build:test-module; then
|
||||
tsc -b "$THIS_SCRIPT_PATH/unit-test-resources/tsconfig.json"
|
||||
cd unit-test-resources
|
||||
node build-bundler.js
|
||||
cd ..
|
||||
builder_finish_action success build :test-module
|
||||
builder_finish_action success build:test-module
|
||||
fi
|
||||
Loading…
Add table
Reference in a new issue