summaryrefslogtreecommitdiffstats
path: root/src/utils.rs
AgeCommit message (Collapse)Author
2020-01-26test(nodejs): Port nodejs module tests from E2E to integraton (#867)Matan Kushner
Replaces the existing nodejs module end-to-end tests with integration tests that don't require preinstalled environmental dependencies. - Moved the tests to the same file as the module they test - Created a render_module utility function for rendering modules within tests - Removed Node.js installation during CI setup - Add Shell to Context to allow for tests to not run shell-specific code
2020-01-11chore: Add ability to mock commands during tests (#768)Thomas O'Donnell
2019-11-27chore: Add a helper function for executing commands (#660)Thomas O'Donnell
2019-10-04refactor: Go from Rust workspaces to a package with nested packages (#480)Matan Kushner
2019-09-30refactor: Refactoring config (#383)Zhenhui Xie
This PR refactors config and puts configuration files for all modules in `configs/`.
2019-09-05feat: Adds Git State module for showing "REBASING 2/3", etc. (#276)Nick Young
- Adds the git_state module. - Adds git_state to the default prompt order - Updates the documentation to describe the git_state module
2019-06-10Add support for prompt configuration (#62)Matan Kushner
- Create `Config` struct that is added to `Context` when initialized - Read `~/.confg/starship.toml` during initialization (can be updated later to also look at `$XDG_CONFIG_HOME`) - `Context` now has a method for creating modules. This allows us to provide modules with a reference to the configuration specific to that module