Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Add an easy way to compile the game #1

Open
utarwyn opened this issue Aug 11, 2019 · 1 comment
Open

Add an easy way to compile the game #1

utarwyn opened this issue Aug 11, 2019 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@utarwyn
Copy link
Owner

utarwyn commented Aug 11, 2019

At this time, there is no easy way to compile and start the game.
Maybe its a good deal to use Gradle?

@utarwyn utarwyn added enhancement New feature or request question Further information is requested labels Aug 11, 2019
@Erinaaaaaaa
Copy link

Erinaaaaaaa commented Mar 23, 2020

I can suggest this as a run.bat file

@echo off

echo .java > exclude.tmp

del /s /q out
rmdir /s /q out
mkdir out

powershell (gci -Path src -Recurse *.java^|Resolve-Path -Relative) > compile.list

javac -encoding utf-8 -d out @compile.list

XCOPY /E /EXCLUDE:exclude.tmp src out

del compile.list
del exclude.tmp

java -cp ./out twistlock.Controleur

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants