Add build scripts for Windows
parent
43377feaf1
commit
a8ab351a00
|
@ -1,5 +1,6 @@
|
|||
conf/application.conf
|
||||
bin/dev
|
||||
bin/dev.bat
|
||||
logs
|
||||
project/project
|
||||
project/target
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# Starts a dev console to compile and run lichess.
|
||||
# To edit this file, copy it to bin\dev.bat: it's not indexed by Git.
|
||||
|
||||
@echo off
|
||||
|
||||
# Yes it needs tons of memory. Go for 2048M if you have them.
|
||||
set JAVA_OPTS=-Xms1536M -Xmx1536M -XX:ReservedCodeCacheSize=64m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+ExitOnOutOfMemoryError -Dkamon.auto-start=true
|
||||
|
||||
sbt %*
|
Binary file not shown.
|
@ -0,0 +1,23 @@
|
|||
@echo off
|
||||
|
||||
mkdir public\compiled
|
||||
|
||||
set ts_apps=common chess ceval game tree
|
||||
|
||||
for %%t in (%ts_apps%) do @(
|
||||
call echo Building TypeScript: %%t
|
||||
call cd ui\%%t
|
||||
call yarn install --non-interactive
|
||||
call yarn run compile --non-interactive
|
||||
call cd ..\..
|
||||
)
|
||||
|
||||
set apps=site chat challenge notify learn insight editor puzzle round analyse lobby tournament tournamentSchedule simul perfStat dasher
|
||||
|
||||
for %%a in (%apps%) do @(
|
||||
call echo Building: %%a
|
||||
call cd ui\%%a
|
||||
call yarn install --non-interactive
|
||||
call gulp dev
|
||||
call cd ..\..
|
||||
)
|
Loading…
Reference in New Issue