mirror of
https://github.com/smogon/sprites.git
synced 2026-08-25 03:07:29 -05:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
12
updatexyicons.sh
Executable file
12
updatexyicons.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user