Commit graph

11 commits

Author SHA1 Message Date
749c2ae39d
build: remove redundant not nil check for error 2025-04-26 08:57:18 +01:00
fb8d0c1514
build: make build script more ergonomic
* Moved cloning functionality into its own `cloneSrc` function
* Start writing compiled data into CWD instead of user home dir, in
  order to prevent mangling between projects
* Introduce `LEI_LUAU_SRC` variable to allow users to provide a path to
  an already checked out luau source dir; when not set, a temporary
  directory is created and removed after compilation
* Do not panic if cmake build dir already exists, just skip creating in
  that case
* Automatically set required C includes path for commands
* Added warning to commands if the `.lei` directory is not present in
  the gitignore
2025-04-26 08:50:50 +01:00
516d7a4f76
build: fix panics for initial runs and remove def exports 2025-04-26 07:48:36 +01:00
efaccf57ad
feat(build): add cleanbuild system + a touch of color 2024-07-22 19:34:32 +05:30
33572b82ab
chore(build): add todo comment for build script 2024-07-20 14:04:08 +05:30
0884e8d7c0
fix(build): handle args order properly 2024-07-19 22:44:49 +05:30
983b343315
fix(build): don't hardcode go command in build script 2024-07-18 17:57:44 +05:30
2cd7e2cc45
chore: apply formatting 2024-07-18 17:56:01 +05:30
3983ba60d1
fix: incorrect copy src path 2024-07-18 17:54:38 +05:30
c11af84788
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.
2024-07-18 17:47:42 +05:30
41cd6a66a6
feat: include build script for compiling and linking against luau 2024-07-18 17:45:33 +05:30