diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-03 12:52:46 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-03 12:52:46 -0600 |
commit | 101c96b03ecf180af986bc20b7161b0933ae47cf (patch) | |
tree | 93d0519443ce42ff2e181078e9e17a244f217741 /src/makefile/target.rs | |
parent | aea101af88a68f9eb009097fd9b488dd008be2b8 (diff) | |
download | makers-101c96b03ecf180af986bc20b7161b0933ae47cf.tar.gz makers-101c96b03ecf180af986bc20b7161b0933ae47cf.zip |
add error indicator for target being updated
Diffstat (limited to 'src/makefile/target.rs')
-rw-r--r-- | src/makefile/target.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefile/target.rs b/src/makefile/target.rs index 7c0d67c..549c95c 100644 --- a/src/makefile/target.rs +++ b/src/makefile/target.rs @@ -58,7 +58,8 @@ impl Target { .wrap_err_with(|| format!("as a dependency for target {}", self.name))?; } if !self.is_up_to_date(file) { - self.execute_commands(file)?; + self.execute_commands(file) + .wrap_err_with(|| format!("while updating target {}", self.name))?; } self.already_updated.set(true); |