Page MenuHomePhorge

Teach `./bin/celerity` about sprite maps
ClosedPublic

Authored by avivey on Jun 3 2023, 13:36.
Tags
None
Referenced Files
F2983558: D25274.1739992035.diff
Tue, Feb 18, 19:07
F2982416: D25274.1739958342.diff
Tue, Feb 18, 09:45
F2958818: D25274.1739120076.diff
Sat, Feb 8, 16:54
F2948451: D25274.1738564598.diff
Sun, Feb 2, 06:36
F2947730: D25274.1738490604.diff
Sat, Feb 1, 10:03
F2943701: D25274.1738216363.diff
Wed, Jan 29, 05:52
F2935862: D25274.1737880417.diff
Sat, Jan 25, 08:33
F2918200: D25274.1737518080.diff
Jan 21 2025, 03:54
Tokens
"Grey Medal" token, awarded by valerio.bozzolan.

Details

Summary

Add ./bin/celerity sprites, to replace script ./scripts/celerity/generate_sprites.php.
Also make new workflow run ./bin/celerity map at the same time.

Fixes T15437.

Test Plan

Changes a file that goes in the sprites, run new command

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avivey requested review of this revision.Jun 3 2023, 13:36
src/applications/celerity/management/CelerityManagementGenerateSpritesWorkflow.php
15

I’m not immediately familiar with the details of the other scripts but is there another similar one to match a similar argument? E.g. if another script has a —no-cache argument we could use that instead of force.

23

Should this arg be wrapped in backticks or regular quotes?

avivey planned changes to this revision.Jun 3 2023, 16:09
avivey added inline comments.
src/applications/celerity/management/CelerityManagementGenerateSpritesWorkflow.php
23

Yeah, it should be regular quotes. Not sure what PHP does with backquotes in the text, but it's not an error...

avivey marked 2 inline comments as done.
  • fixes
src/applications/celerity/management/CelerityManagementGenerateSpritesWorkflow.php
15

Yeah, looks like no-map is the standard.

speck added inline comments.
src/applications/celerity/management/CelerityManagementGenerateSpritesWorkflow.php
15

Oh hah I was thinking the force argument but I see it’s from the original script too

This revision is now accepted and ready to land.Jun 3 2023, 16:48