mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 07:12:03 +03:00
elixir: Fix mix test $ZED_SYMBOL
task (#11879)
$ZED_SYMBOL doesn't really work here once that will try to do something like this: mix test MyModule.MyModuleTest instead of using the path of the file: mix test test/my_module/my_module_test.exs Release Notes: - Fix mix test $ZED_SYMBOL to use ZED_RELATIVE_FILE instead - Use ZED_RELATIVE_FILE instead of ZED_FILE to improve mix tasks results on Elixir umbrella projects
This commit is contained in:
parent
819bb2663d
commit
2cff075c53
@ -11,18 +11,18 @@
|
||||
"args": ["test", "--failed"]
|
||||
},
|
||||
{
|
||||
"label": "mix test $ZED_SYMBOL",
|
||||
"label": "mix test $ZED_RELATIVE_FILE",
|
||||
"command": "mix",
|
||||
"args": ["test", "$ZED_SYMBOL"]
|
||||
"args": ["test", "$ZED_RELATIVE_FILE"]
|
||||
},
|
||||
{
|
||||
"label": "mix test $ZED_FILE:$ZED_ROW",
|
||||
"label": "mix test $ZED_RELATIVE_FILE:$ZED_ROW",
|
||||
"command": "mix",
|
||||
"args": ["test", "$ZED_FILE:$ZED_ROW"]
|
||||
"args": ["test", "$ZED_RELATIVE_FILE:$ZED_ROW"]
|
||||
},
|
||||
{
|
||||
"label": "Elixir: break line",
|
||||
"command": "iex",
|
||||
"args": ["-S", "mix", "test", "-b", "$ZED_FILE:$ZED_ROW"]
|
||||
"args": ["-S", "mix", "test", "-b", "$ZED_RELATIVE_FILE:$ZED_ROW"]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user