chore: rebrand to 'lei'

Lei refers to a garland of flowers in Hawaiian culture, which seems
fitting since Luau has Hawaiian references as a language too.
This commit is contained in:
Erica Marigold 2024-07-18 17:47:42 +05:30
parent 41cd6a66a6
commit c11af84788
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1
3 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ func bail(err error) {
} }
func buildVm(artifactDir string, artifactPath string, cmakeFlags ...string) { func buildVm(artifactDir string, artifactPath string, cmakeFlags ...string) {
dir, homeDirErr := os.MkdirTemp("", "gluau-build") dir, homeDirErr := os.MkdirTemp("", "lei-build")
bail(homeDirErr) bail(homeDirErr)
defer os.RemoveAll(dir) defer os.RemoveAll(dir)
@ -44,7 +44,7 @@ func main() {
homeDir, homeDirErr := os.UserHomeDir() homeDir, homeDirErr := os.UserHomeDir()
bail(homeDirErr) bail(homeDirErr)
artifactDir := path.Join(homeDir, ".gluau") artifactDir := path.Join(homeDir, ".lei")
artifactPath := path.Join(artifactDir, ARTIFACT_NAME) artifactPath := path.Join(artifactDir, ARTIFACT_NAME)
bail(os.MkdirAll(artifactDir, os.ModePerm)) bail(os.MkdirAll(artifactDir, os.ModePerm))

2
go.mod
View file

@ -1,3 +1,3 @@
module github.com/CompeyDev/gluau module github.com/CompeyDev/lei
go 1.19 go 1.19

View file

@ -1,6 +1,6 @@
package main package main
import "github.com/CompeyDev/gluau/internal" import "github.com/CompeyDev/lei/internal"
func main() { func main() {
lua := internal.LNewState() lua := internal.LNewState()