Embedded modules now live under embedded:.

This commit is contained in:
Qi Xiao 2017-03-26 19:44:18 +02:00
parent 5e63f06960
commit ee48673048
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
package eval
var embeddedModules = map[string]string{
"elves:acme": `fn acme {
"embedded:acme": `fn acme {
echo 'So this'
put works.
}

View File

@ -2,7 +2,7 @@
// shell.
package eval
//go:generate ./gen-builtin-modules
//go:generate ./gen-embedded-modules
import (
"bufio"

View File

@ -7,7 +7,7 @@ out = ./embedded-modules.go
echo "var embeddedModules = map[string]string{"
for f [*.elv] {
print '"elves:'$f[:-4]'": `'
print '"embedded:'$f[:-4]'": `'
cat $f | sed 's/`/``/g'
echo '`,'
}