tools/mod2spec.sh
author Kim Alvefur <zash@zash.se>
Mon, 17 Jul 2023 02:32:47 +0200
changeset 13219 b1c2e70de470
parent 13204 150e3bbec1bd
child 13259 df96af198222
permissions -rwxr-xr-x
core.moduleapi: Fix min/maxinteger fallback for Lua 5.2 Maybe these should live in util.mathcompat?
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13199
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"