David Knaack
cdb999447a
feat(test): allow dynamic mocking of commands ( #2307 )
2021-02-13 19:32:35 +01:00
David Knaack
eccbda8328
feat: allow changing default command timeout ( #2283 )
...
* feat: allow changing default command timeout
* fix clippy
* add doc to exec_cmd in Context
* update docs in CONTRIBUTING.md
* Fix comment in CONTRIBUTING.md
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-02-11 21:34:47 +01:00
Moritz Vetter
83e0432a75
perf(java): Lazy eval java ( #2168 )
...
* perf(java): evaluate version lazily
* fix(java): update format string
* fix: use suggested format string
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-20 18:51:30 +01:00
Zane Shelby
389e006c00
feat(java): Show Java module for Clojure projects ( #966 )
2020-11-30 13:50:56 +01:00
Tilmann Meyer
88b603be38
test: introduce env variable mocking ( #1490 )
2020-08-07 15:13:12 -04:00
Dario Vladović
997387ee50
refactor(java): parse version using regex ( #1496 )
...
* refactor(java): parse version using regex
Mock java version retrieval & extend java module test suite with
rendering tests.
* chore: remove nom crate
* fix(java): support parsing version from both stdout & stderr
* fix(java): fix java command mock
* refactor(java): simplify version regex
2020-07-29 18:26:46 +02:00
Zhenhui Xie
ec76fafff0
feat: refactor modules to use format strings ( #1374 )
2020-07-07 18:45:32 -04:00
Shu Kutsuzawa
bd016b6ce2
feat: Enable to display language version when .<lang>-version
file exists. ( #1028 )
...
* adjust https://github.com/sonnym/elmenv
* adjust https://github.com/syndbg/goenv
* adjust https://github.com/jenv/jenv
* adjust https://github.com/nodenv/nodenv
* adjust https://github.com/phpenv/phpenv
* adjust https://github.com/rbenv/rbenv
* add description
* golang.rs is executed rustfmt
* add testcases
2020-04-03 21:02:28 +02:00
Sam Rose
f4c095de92
fix(java): Add detection for *.gradle files ( #871 )
...
Currently the Java module detection looks for build.gradle specifically, but it's possible to rename build.gradle to *.gradle. This change adds Gradle files to the list of detected file extensions.
2020-01-24 10:22:30 -05:00
Mario Arias
aab35674d2
feat: Adds build.gradle.kts detection to the Java module ( #731 )
2019-12-19 10:17:50 -05:00
Thomas O'Donnell
edc62f4518
refactor: Refactor modules to use the exec_cmd util ( #676 )
...
Have refactored the golang, java, nodejs, python, ruby and username
modules to use the new `exec_cmd` util.
2019-12-02 17:42:55 -05:00
Zhenhui Xie
48726fdd2a
refactor: Refactor nix_shell and java module to use module config ( #606 )
2019-11-06 21:59:12 +09:00
yuri
b7762a3e91
fix: Show Java version from OpenJ9 Java runtimes ( #507 )
...
This PR tries to improve the version detection across multiple Java VM vendors. The module captures both STDOUT and STDERR outputs of the java -Xinternalversion call.
Eclipse OpenJ9, Azul Zulu, SapMachine, Amazon Corretto and GraalVM outputs are unit tested now.
2019-10-25 10:00:05 +09:00
Maarten Mulders
8058b51273
feat: Show Java module when build.sbt is present ( #505 )
...
* feat: Show Java icon and info when build.sbt detected
* docs: Mention build.sbt detection
2019-10-07 19:18:01 +09: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
Kuba Clark
71f03ec3e9
feat: Add Java Module ( #314 )
...
Implements a Java module which shows basic Java information when inside a Java project.
2019-09-19 18:02:53 -05:00