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

Add COCKLE_WASM_EXTRA_CHANNEL env var to get wasm command packages from an extra channel #79

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

ianthomas23
Copy link
Member

Add new environment variable COCKLE_WASM_EXTRA_CHANNEL used when building a deployment to look in an extra Emscripten-forge channel, remotely or locally, as well as the default channels. This is useful when trying to build new wasm commands in a local Emscripten-forge recipes repo.

For example, if I have my local Emscripten-forge recipes repo in ~/github/emscripten-forge/recipes then to build the demo here I could use:

COCKLE_WASM_EXTRA_CHANNEL=~/github/emscripten-forge/recipes/output npm run build

and the cockle-command output when served is:

cockle-wasm-extra-channel

@ianthomas23 ianthomas23 added the enhancement New feature or request label Dec 2, 2024
@ianthomas23 ianthomas23 merged commit 67f0307 into main Dec 2, 2024
7 checks passed
@ianthomas23 ianthomas23 deleted the wasm-extra-channel branch December 2, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant