mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-21 23:27:39 +00:00
PR review suggestion incorporated.
This commit is contained in:
parent
da297f09b0
commit
91c11a3f2c
2 changed files with 4 additions and 4 deletions
|
|
@ -182,7 +182,7 @@ endlocal
|
|||
|
||||
del %EMBED_OUTPUT%\keyman.js 2>nul
|
||||
CALL %compilecmd% -p %NODE_SOURCE%\tsconfig.embedded.json
|
||||
echo Typescript compiled.
|
||||
echo Embedded TypeScript compiled.
|
||||
|
||||
CALL :minify "keyman.js" %EMBED_OUTPUT% SIMPLE_OPTIMIZATIONS "keyman.__BUILD__=%BUILD%"
|
||||
if not exist %EMBED_OUTPUT%\keyman.js goto fail
|
||||
|
|
@ -208,7 +208,7 @@ echo Compile Keymanweb...
|
|||
|
||||
del %WEB_OUTPUT%\keymanweb.js 2>nul
|
||||
CALL %compilecmd% -p %NODE_SOURCE%\tsconfig.web.json || true
|
||||
echo Typescript compiled.
|
||||
echo Native TypeScript compiled.
|
||||
|
||||
call :copy_resources %INTERMEDIATE%
|
||||
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ if [ $BUILD_EMBED = true ]; then
|
|||
|
||||
rm $EMBED_OUTPUT/keyman.js 2>/dev/null
|
||||
$compilecmd -p $NODE_SOURCE/tsconfig.embedded.json
|
||||
echo Typescript compiled.
|
||||
echo Embedded TypeScript compiled.
|
||||
|
||||
minify keyman.js $EMBED_OUTPUT SIMPLE_OPTIMIZATIONS "keyman.__BUILD__=$BUILD"
|
||||
assert $EMBED_OUTPUT/keyman.js
|
||||
|
|
@ -231,7 +231,7 @@ if [ $BUILD_COREWEB = true ]; then
|
|||
echo Compile Keymanweb...
|
||||
rm $WEB_OUTPUT/keymanweb.js 2>/dev/null
|
||||
$compilecmd -p $NODE_SOURCE/tsconfig.web.json
|
||||
echo Typescript compiled.
|
||||
echo Native TypeScript compiled.
|
||||
|
||||
copy_resources "$INTERMEDIATE"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue