Fix compile_shader task when project hasn't been configured
This commit is contained in:
parent
6f18a02999
commit
976bc09079
|
|
@ -12,7 +12,11 @@ task("compile-shaders")
|
||||||
|
|
||||||
on_run(function ()
|
on_run(function ()
|
||||||
import("core.base.option")
|
import("core.base.option")
|
||||||
|
import("core.base.task")
|
||||||
import("core.project.project")
|
import("core.project.project")
|
||||||
|
|
||||||
|
task.run("config", {}, {disable_dump = true})
|
||||||
|
|
||||||
local nzsl = path.join(project.required_package("nzsl"):installdir(), "bin", "nzslc")
|
local nzsl = path.join(project.required_package("nzsl"):installdir(), "bin", "nzslc")
|
||||||
|
|
||||||
local envs
|
local envs
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue