Software /
code /
prosody
Annotate
.luacov @ 13195:1a59a40c6443
tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Useful for opening a module and its tests at the same, can be awkward to
auto-complete sometimes.
sensible-editor util/example.lua $(./tools/mod2spec.sh util.example)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 16 Jul 2023 18:33:53 +0200 |
parent | 9469:cd2f742e5826 |
rev | line source |
---|---|
9469
cd2f742e5826
.luacov: Add config for luacov, exclude spec/
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 exclude = { |
cd2f742e5826
.luacov: Add config for luacov, exclude spec/
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 "^%./spec/"; |
cd2f742e5826
.luacov: Add config for luacov, exclude spec/
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 } |