Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(npm): automatically run build-icons for correct os #2360

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ReenigneArcher
Copy link

@ReenigneArcher ReenigneArcher commented Feb 15, 2025

Double check these details before you open a PR

  • PR does not match another non-stale PR currently opened

Features

This PR makes it so npm run build-icons works on all standard OSes.

This PR closes NONE

Notes

A new dev dependency was added to simplify this: https://www.npmjs.com/package/run-script-os

Edit: This is draft as I discovered it is not using the activated python venv. Will update once resolved.

@ReenigneArcher ReenigneArcher marked this pull request as draft February 15, 2025 13:36
@ReenigneArcher ReenigneArcher force-pushed the build/npm/automatically-run-build-icons-for-correct-os branch from 52ebb09 to c94da43 Compare February 15, 2025 13:39
@ReenigneArcher ReenigneArcher marked this pull request as ready for review February 15, 2025 13:39
@ReenigneArcher ReenigneArcher marked this pull request as draft February 15, 2025 13:45
@ReenigneArcher
Copy link
Author

I opened a bug report in npm for the venv issue. I think this would technically affect the unix commands as well so it's probably not necessary to wait for this to be resolved.

npm/cli#8111

But, I do have an idea on how to detect if we are running in an activated venv which I will work on shortly.

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.

1 participant