Matan Kushner
bbba4e1657
fix: change command failure log level to trace
...
Closes #1020
Closes #1024
2020-03-22 17:58:46 -04:00
Basix
8b4489768b
fix(utils): print log for exec_cmd failure ( #982 )
2020-03-06 16:17:34 -05:00
KokaKiwi
243e97cfe6
feat: add Elixir module ( #437 )
2020-03-01 22:29:27 -05:00
Thomas O'Donnell
d44c037ba5
test: refactor ruby and php modules to use mocked commands ( #936 )
2020-02-21 11:52:39 -05:00
Thomas O'Donnell
67397d9096
test(golang): refactor golang tests to use mocked command ( #925 )
...
Refactor the golang module tests to use a mocked command and no
longer depend on having a particular version of Go installed.
2020-02-12 13:22:21 -05:00
Andrew Prokhorenkov
cead23edca
test: port Haskell module tests to integration test ( #913 )
2020-02-06 12:12:07 -05:00
Kevin Song
c4ab66d7fe
refactor: Move ANSI escaping into its own functions ( #866 )
2020-02-06 11:10:59 -05:00
Andrew Prokhorenkov
273a937505
feat: Add an Elm module ( #879 )
...
Former-commit-id: d42137309da457a438b554601f0734db963a193e
2020-02-05 22:57:04 -05:00
Youssef Habri
f665df226c
feat: Add Crystal version module ( #170 )
2020-02-04 18:27:06 -05:00
Kyle Sferrazza
752abd4bfb
fix: make echo test use /bin/sh ( #892 )
2020-02-04 12:48:01 -05:00
Matan Kushner
3365beae09
test(nodejs): Port nodejs module tests from E2E to integraton ( #867 )
...
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-26 16:37:18 -06:00
Thomas O'Donnell
0d81694e32
chore: Add ability to mock commands during tests ( #768 )
2020-01-11 10:08:32 -05:00
Thomas O'Donnell
f5bbaef82b
chore: Add a helper function for executing commands ( #660 )
2019-11-27 17:03:08 -05:00
Matan Kushner
05210b9510
refactor: Go from Rust workspaces to a package with nested packages ( #480 )
2019-10-04 22:30:46 +09:00
Zhenhui Xie
dd0b1a1aa2
refactor: Refactoring config ( #383 )
...
This PR refactors config and puts configuration files for all modules in `configs/`.
2019-09-30 21:10:35 +09:00
Nick Young
eb724279da
feat: Adds Git State module for showing "REBASING 2/3", etc. ( #276 )
...
- Adds the git_state module.
- Adds git_state to the default prompt order
- Updates the documentation to describe the git_state module
2019-09-05 12:45:04 -04:00
Matan Kushner
097f1b05f1
Add support for prompt configuration ( #62 )
...
- 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
2019-06-10 15:56:17 +01:00