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

lint: shellcheck on minifront bundled asset script #2056

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

conorsch
Copy link
Contributor

Description of Changes

I ran shellcheck on the script used to export a bundled minifront, suitable for inclusion in pd. These are small changes intended to make the script more resilient, e.g. failing fast and handling directories with spaces in the name.

Prepared while working on
penumbra-zone/penumbra#5089.

Related Issue

Refs penumbra-zone/penumbra#5089.

Checklist Before Requesting Review

  • I have ensured that any relevant minifront changes do not cause the existing extension to break.

No app-code changes, only a script to export artifacts is changed. Still, I did consume the results of this modified script, as part of testing for penumbra-zone/penumbra#5089.

I ran `shellcheck` on the script used to export a bundled minifront,
suitable for inclusion in `pd`. These are small changes intended to make
the script more resilient, e.g. failing fast and handling directories
with spaces in the name.

Prepared while working on
penumbra-zone/penumbra#5089.
Copy link

changeset-bot bot commented Feb 14, 2025

⚠️ No Changeset found

Latest commit: fb8da24

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@conorsch
Copy link
Contributor Author

I suspect there's more this script could do in clearing out stale local build caches, such as the dist/ dirs, to ensure the latest artifacts are built cleanly, and nothing's reused. Will keep a close eye on that behavior, and aim to update the bundle more frequently. IMO this PR can be merged as-is as a nominal improvement.

@conorsch conorsch merged commit b97fb7c into main Feb 14, 2025
6 checks passed
@conorsch conorsch deleted the minifront-bundle-script branch February 14, 2025 20:44
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.

2 participants