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

Dev mode #76

Merged
merged 4 commits into from
Feb 4, 2025
Merged

Dev mode #76

merged 4 commits into from
Feb 4, 2025

Conversation

tgerulaitis
Copy link
Contributor

Highlight

This adds a cloud-seed run command to run functions locally (one at a time) with automatic rebuilding on changes.

It's a pretty barebones implementation, and can be expanded in the future, but it will hopefully reduce the cycle time on writing functions and improve the developer experience.

Other changes

  • Several utilities have been decoupled from the build command and refactored into reusable functions so they can be used by the run command. There should be no functional changes how the build command works, other than the changes listed in CHANGELOG.md.
  • Added unit tests to the refactored components, mainly testing that the config files are parsed and interpreted correctly.

- Move the config parser out of the build command
- Discover the cloudseed.json file if Cloud Seed is run within a
  subdirectory of a project
- Add unit tests
- Move the getter and related functions to their own source file
- Add types
- Add unit tests
@tgerulaitis tgerulaitis merged commit 56e49a7 into master Feb 4, 2025
1 check passed
@tgerulaitis tgerulaitis deleted the dev-mode branch February 4, 2025 09:56
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.

3 participants