1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

add NoCache wrapper to Command

This commit is contained in:
Rhody Lugo
2018-06-21 00:33:25 -04:00
parent a9acdd84b7
commit 920224a535
6 changed files with 20 additions and 14 deletions

View File

@@ -1329,3 +1329,8 @@ def add_program(env, name, sources, **args):
program = env.Program(name, sources, **args)
env.NoCache(program)
return program
def CommandNoCache(env, target, sources, command, **args):
result = env.Command(target, sources, command, **args)
env.NoCache(result)
return result