GastinelClient : squelette (gradle ModDevGradle, mods.toml client, scripts de compilation cornafserver, police Inter)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
révision
ae3848efcc
14 fichiers modifiés
+463
Aucun fichier ne correspond à votre recherche
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Depuis le PC : envoie les sources sur cornafserver (~/staging/GastinelClient), compile, rapatrie le jar dans livrable/.
|
||||
# Ne touche ni au serveur Minecraft en marche ni à son dossier.
|
||||
set -e
|
||||
cd "$(dirname "$0")"
|
||||
V=$(grep '^mod_version=' gradle.properties | cut -d= -f2)
|
||||
tar czf /tmp/gastinelclient-src.tgz --exclude=build --exclude=.gradle --exclude=livrable --exclude=run --exclude=.git --exclude=maquette .
|
||||
scp /tmp/gastinelclient-src.tgz cornafserver:gastinelclient-src.tgz
|
||||
ssh cornafserver 'set -e; rm -rf "$HOME/staging/GastinelClient"; mkdir -p "$HOME/staging/GastinelClient"; tar xzf "$HOME/gastinelclient-src.tgz" -C "$HOME/staging/GastinelClient"; rm "$HOME/gastinelclient-src.tgz"; cd "$HOME/staging/GastinelClient" && sh build-sur-cornafserver.sh'
|
||||
mkdir -p livrable
|
||||
scp "cornafserver:staging/GastinelClient/build/libs/gastinelclient-neoforge-1.21.1-$V.jar" livrable/
|
||||
ls -l livrable
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur