From a132276e7843d79cd7de31a65224e0f06ebb7a9a Mon Sep 17 00:00:00 2001 From: Christopher Monsanto Date: Sun, 16 Aug 2026 18:21:26 -0400 Subject: [PATCH] Retire the wrappers superseded by pnpm deploy updatepmdsprites.sh is gone entirely; updateminisprites.sh loses its spritesheet/forumsprites/dex-suffix steps and becomes updatexyicons.sh. Co-Authored-By: Claude Fable 5 --- updateminisprites.sh | 18 ------------------ updatepmdsprites.sh | 11 ----------- updatexyicons.sh | 12 ++++++++++++ 3 files changed, 12 insertions(+), 29 deletions(-) delete mode 100755 updateminisprites.sh delete mode 100755 updatepmdsprites.sh create mode 100755 updatexyicons.sh diff --git a/updateminisprites.sh b/updateminisprites.sh deleted file mode 100755 index b90d66a5..00000000 --- a/updateminisprites.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -ex - -cd ~/smogon/sprites -pnpm build - -rm -rf deploy/smogon -node tools/deploy/index.ts run smogon.deploy.js -o deploy/smogon - -# Update dex -rsync deploy/smogon/assets/* smogon:/smog2/sprites/assets -ssh smogon 'cat > /smog2/dex/spritesheet_css_suffix.txt' < deploy/smogon/spritesheet_css_suffix.txt -ssh smogon 'systemctl reload dex' - -# Update forum minisprites -rsync -a deploy/smogon/forumsprites/ smogon:/smog2/forumsprites/minisprites -rsync -a deploy/smogon/xyicons/ smogon:/smog2/sprites/xyicons diff --git a/updatepmdsprites.sh b/updatepmdsprites.sh deleted file mode 100755 index 24a22f40..00000000 --- a/updatepmdsprites.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -ex - -cd /home/monsanto/smogon/sprites -pnpm build -rm -rf deploy/smogon -node tools/deploy/index.ts run smogon.deploy.js -o deploy/smogon - -# Note: the /forums/media/pmd directory should probably stay the same; we can redirect those I guess -rsync -a deploy/smogon/pmd/ smogon:/smog2/forumsprites/pmd diff --git a/updatexyicons.sh b/updatexyicons.sh new file mode 100755 index 00000000..5a05e2d6 --- /dev/null +++ b/updatexyicons.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -ex + +cd ~/smogon/sprites + +pnpm build + +rm -rf deploy/smogon +node tools/deploy/index.ts run smogon.deploy.js -o deploy/smogon + +rsync -a deploy/smogon/xyicons/ smogon:/smog2/sprites/xyicons