mirror of
https://github.com/leafo/moonscript.git
synced 2024-12-08 01:54:24 +00:00
8 lines
183 B
Bash
8 lines
183 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for file in $(find moonscript moon | grep 'lua$'); do
|
||
|
MODULE=$(echo $file | sed -e 's/\.lua$//' -e 's/\//./g' -e 's/\.init$//')
|
||
|
echo "[\"$MODULE\"] = \"$file\","
|
||
|
done
|
||
|
|