mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
8 lines
183 B
Bash
Executable File
8 lines
183 B
Bash
Executable File
#!/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
|
|
|