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

feat: add extism-dev update --wasm to update all the test wasm files across our repos #36

Merged
merged 7 commits into from
Oct 17, 2023

Conversation

zshipko
Copy link
Contributor

@zshipko zshipko commented Oct 17, 2023

Now extism-dev update --wasm can be used to update test wasm files across all our projects.

  • Adds extraWasm field to data file to track additional test wasm files not found in extism/plugins repo
  • Also adds some filters for extism-dev update: --category and --repo
  • Adds --dry-run flag to see which files will be written before running
  • Adds --build flag to update command to ensure kernel/test wasm modules are rebuilt before copying

@@ -2,7 +2,7 @@ module github.com/extism/cli/extism

go 1.20

replace github.com/extism/cli => ../
// replace github.com/extism/cli => ../
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nilslice - I had to comment out the replace directives in the go.mod files you added because they oddly don't work with go install: golang/go#44840

@zshipko zshipko merged commit 64e3ee7 into main Oct 17, 2023
5 checks passed
@zshipko zshipko deleted the extism-dev-update-wasm branch October 17, 2023 21:16
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