Annotate

tools/mod2spec.sh @ 13440:b27de3d2bad6

net.server_epoll: Support hooking signals via signalfd Handling signal events the same way as all other events makes sense and seems safer than the signal handling just jumping around in C and messing with Lua states.
author Kim Alvefur <zash@zash.se>
date Sat, 24 Feb 2024 00:20:35 +0100
parent 13255:df96af198222
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13255
df96af198222 tools: Reflect bash-ness of mod2spec in shebang
Kim Alvefur <zash@zash.se>
parents: 13200
diff changeset
1 #!/bin/bash
13195
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"