nothing much
This commit is contained in:
@@ -20,6 +20,7 @@ repositories {
|
||||
tasks.register('compileClient', JavaExec) {
|
||||
classpath(sourceSets.main.runtimeClasspath)
|
||||
mainClass.set('com.shatteredpixel.shatteredpixeldungeon.html.Compile')
|
||||
jvmArgs('-Xms8g', '-Xmx14g', '-Xss16m', '-XX:MaxMetaspaceSize=12g', '-Dfile.encoding=UTF-8')
|
||||
outputs.dir '../release/webapp'
|
||||
doFirst {
|
||||
println "Running compileClient..."
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
../gradlew :html:build
|
||||
wait
|
||||
if [[ -d ../release/webapp/ ]]; then
|
||||
python3 -m http.server 8100 -d ../release/webapp/
|
||||
python3 -m http.server 8000 -d ../release/webapp/
|
||||
fi
|
||||
|
||||
9
html/deployWeb.sh
Executable file
9
html/deployWeb.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
TARGET_FOLDER="shatteredPixelDungeon"
|
||||
|
||||
# shellcheck disable=SC2029
|
||||
if ssh vps "[[ -d /var/www/$TARGET_FOLDER ]]"; then
|
||||
ssh vps "find /var/www/$TARGET_FOLDER -mindepth 1 -delete"
|
||||
scp -r ../release/webapp/* vps:/var/www/$TARGET_FOLDER
|
||||
fi
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at:
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* This file is derived from micronaut-libgdx-teavm (https://github.com/hollingsworthd/micronaut-libgdx-teavm),
|
||||
* originally licensed under the Apache License, Version 2.0.
|
||||
*
|
||||
*
|
||||
* Modifications made by Konsthol on 13/4/25:
|
||||
* - Adjusted to compile Shattered Pixel Dungeon
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user