Skip to content

Replace ‘scripts’ by Pharo script#14

Merged
jecisc merged 1 commit intopharo-project:svgPackfrom
Rinzwind:replace-scripts
Aug 27, 2024
Merged

Replace ‘scripts’ by Pharo script#14
jecisc merged 1 commit intopharo-project:svgPackfrom
Rinzwind:replace-scripts

Conversation

@Rinzwind
Copy link
Copy Markdown
Contributor

This pull request replaces the scripts in the ‘scripts’ directory by a Pharo script in the ‘README.md’ file. By default it only generates the PNG files that don’t already exist, so that they are only generated for newly added icons. The variable ‘shouldRegenerateAll’ can be set to ‘true’ to regenerate them for all icons. Inkscape seems to treat a missing source SVG file as a warning, rather than error, condition and doesn’t exit with a non-zero status in that case, hence the script explicitly checks that the PNG file exists after executing the shell command for generating it.

@Rinzwind
Copy link
Copy Markdown
Contributor Author

@jecisc Could you maybe check whether this can be merged?

Comment thread README.md
@Ducasse
Copy link
Copy Markdown
Member

Ducasse commented Aug 20, 2024

This is nice.
Could we remove the 'glamourous' strings from the name since we do not want to have reference to glamourous in Pharo?

@Rinzwind
Copy link
Copy Markdown
Contributor Author

I’m not sure that’s something to be dealt with in this pull request, I opened an issue about it: Pharo issue #17017.

@Rinzwind
Copy link
Copy Markdown
Contributor Author

@jecisc @astares @Ducasse: Could one of you maybe check whether this can now be merged?

@jecisc jecisc merged commit efa9d71 into pharo-project:svgPack Aug 27, 2024
@Rinzwind
Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants