INNER CODE UNIT · C

path

spheredev/neosphere · src/cell/build.c:594

		path = target_path(*target_ptr);
		if (path_num_hops(path) == 0 || !path_hop_is(path, 0, "@"))
			continue;
		target_build(*target_ptr, build->visor, rebuilding);
	}
	visor_end_op(build->visor);

	// only generate a game manifest if the build finished with no errors.
	// warnings are fine.
	if (visor_num_errors(build->visor) == 0) {
		clean_old_artifacts(build, true);
		if (!write_manifests(build)) {
			fs_unlink(build->fs, "@/game.json");
			fs_unlink(build->fs, "@/game.sgm");
			goto finished;
		}
	}
	else {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…