1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/ElectronClient/build.bat

17 lines
430 B
Batchfile
Raw Normal View History

2019-12-17 02:40:49 +02:00
@echo off
setlocal
SET mypath=%~dp0
set script_dir=%mypath:~0,-1%
xcopy /C /I /H /R /Y /S /Q %script_dir%\..\ReactNativeClient\lib %script_dir%\app\lib
REM if %errorlevel% neq 0 exit /b %errorlevel%
rem Note that TypeScript must be installed globally for this to work
cd %script_dir%\..
call tsc
if %errorlevel% neq 0 exit /b %errorlevel%
cd %script_dir%\app
call npm run compile
REM if %errorlevel% neq 0 exit /b %errorlevel%