mirror of
https://github.com/CompeyDev/lei.git
synced 2024-12-12 04:40:42 +00:00
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:
parent
41cd6a66a6
commit
c11af84788
3 changed files with 4 additions and 4 deletions
|
@ -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
2
go.mod
|
@ -1,3 +1,3 @@
|
||||||
module github.com/CompeyDev/gluau
|
module github.com/CompeyDev/lei
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
2
main.go
2
main.go
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue