chore(build): add todo comment for build script

This commit is contained in:
Erica Marigold 2024-07-20 14:04:08 +05:30
parent dd9ee216a8
commit 33572b82ab
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1

View file

@ -34,6 +34,9 @@ func buildVm(artifactPath string, cmakeFlags ...string) {
Exec("cmake", buildDir, append(defaultCmakeFlags, cmakeFlags...)...)
Exec("cmake", buildDir, "--build", ".", "--target Luau.VM", "--config", "RelWithDebInfo")
// TODO: Write status file including version & build type (vector3 or vector4)
// If current build type and version differ, then rebuild from scratch and
// replace
// Copy the artifact to the artifact directory
artifactFile, artifactErr := os.ReadFile(path.Join(buildDir, ARTIFACT_NAME))
bail(artifactErr)