Accueil avec [Répondre] -> /guide menu (Commandes, Mods du serveur, Règles, Retour).
Textes dans config/gastinelmind-guide.json (créé depuis le jar, relu à chaud), {joueur} = pseudo.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
15 lignes
543 B
Bash
15 lignes
543 B
Bash
#!/bin/sh
|
|
# Compile GastinelMindPNJ dans un conteneur JDK 21 jetable (rien n'est installé sur l'hôte).
|
|
# Usage (sur cornafserver) : sh build-sur-cornafserver.sh -> build/libs/*.jar
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
mkdir -p "$HOME/.cache/gastinelmind-gradle"
|
|
nice -n 10 docker run --rm --memory 4g --cpus 4 \
|
|
-u "$(id -u):$(id -g)" \
|
|
-e GRADLE_USER_HOME=/gradle-home \
|
|
-v "$HOME/.cache/gastinelmind-gradle:/gradle-home" \
|
|
-v "$(pwd):/src" -w /src \
|
|
eclipse-temurin:21-jdk \
|
|
sh ./gradlew --no-daemon clean test build
|
|
ls -l build/libs
|