mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Merge pull request #4442 from roc-lang/better_errors
centralized commands, better errors, link build command refactoring
This commit is contained in:
commit
b143183ba8
17 changed files with 268 additions and 208 deletions
|
@ -4,6 +4,7 @@ extern crate roc_load;
|
|||
extern crate roc_module;
|
||||
extern crate tempfile;
|
||||
|
||||
use roc_utils::cargo;
|
||||
use serde::Deserialize;
|
||||
use serde_xml_rs::from_str;
|
||||
use std::env;
|
||||
|
@ -48,7 +49,7 @@ where
|
|||
vec!["build", "--release", "--bin", "roc"]
|
||||
};
|
||||
|
||||
let output = Command::new("cargo")
|
||||
let output = cargo()
|
||||
.current_dir(root_project_dir)
|
||||
.args(args)
|
||||
.output()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue