mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-17 10:17:09 +03:00
Merge pull request #1384 from NoRedInk/wat-cache-elm-home
cache ELM_HOME
This commit is contained in:
commit
0ed9380044
@ -75,7 +75,11 @@ def run_docs(args):
|
||||
os.path.abspath(args.output),
|
||||
]
|
||||
logging.debug(f"running {command} in `{args.build_dir}`")
|
||||
process = Popen(command, cwd=args.build_dir)
|
||||
process = Popen(
|
||||
command,
|
||||
cwd=args.build_dir,
|
||||
env={"ELM_HOME": os.path.join(args.build_dir, "elm_home")},
|
||||
)
|
||||
process.communicate()
|
||||
|
||||
return process.returncode
|
||||
@ -202,7 +206,11 @@ def run_make(args):
|
||||
command.append("--optimize")
|
||||
|
||||
logging.debug(f"running {command} in `{args.build_dir}`")
|
||||
process = Popen(command, cwd=args.build_dir)
|
||||
process = Popen(
|
||||
command,
|
||||
cwd=args.build_dir,
|
||||
env={"ELM_HOME": os.path.join(args.build_dir, "elm_home")},
|
||||
)
|
||||
process.communicate()
|
||||
|
||||
return process.returncode
|
||||
|
Loading…
Reference in New Issue
Block a user