Software /
code /
prosody
Annotate
tools/mod2spec.sh @ 13202:173038306750
plugins: Use get_option_enum where appropriate
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 16 Jan 2021 21:04:58 +0100 |
parent | 13200:150e3bbec1bd |
child | 13255:df96af198222 |
rev | line source |
---|---|
13195
1a59a40c6443
tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 #!/bin/sh |
1a59a40c6443
tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 set -eu |
1a59a40c6443
tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
1a59a40c6443
tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 echo "spec/${1//./_}_spec.lua" |