Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Make app path required#457

Merged
mattjohnsonpint merged 6 commits intomainfrom
mjp/hyp-2323-runtime-instancing-storage-paths
Oct 12, 2024
Merged

Make app path required#457
mattjohnsonpint merged 6 commits intomainfrom
mjp/hyp-2323-runtime-instancing-storage-paths

Conversation

@mattjohnsonpint
Copy link
Contributor

Description

  • -storagePath has been replaced with -appPath and is now REQUIRED
    • The default path has been removed. That means we will no longer be running the runtime pointed at a common directory such as ~/.hypermode, but instead the runtime will be invoked for a specific Modus app. The -appPath should point at the build directory, or wherever the .wasm file will be found.
  • Updated the VS Code launch settings, such that while debugging the Modus runtime, you can either enter a path to an app to run, or you can select one of the examples that's already in the repo.
    • For now, you still need to build the example independently, but the runtime will watch the build folder associated with the selected example.
  • Renamed one of the examples to align the folder names across languages.

Checklist

  • Code compiles correctly and linting passes locally
  • Tests for new functionality and regression tests for bug fixes added
  • Documentation added or updated
  • Entry added to the CHANGELOG.md file describing and linking to this PR

@mattjohnsonpint mattjohnsonpint requested a review from a team October 12, 2024 01:22
@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) October 12, 2024 01:24
@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) October 12, 2024 01:25
@mattjohnsonpint mattjohnsonpint merged commit 06a47bb into main Oct 12, 2024
@mattjohnsonpint mattjohnsonpint deleted the mjp/hyp-2323-runtime-instancing-storage-paths branch October 12, 2024 01:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants