Skip to content

Commit

Permalink
fix: extensions update, self-targets
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Mar 9, 2022
1 parent 3914df3 commit 82a2bde
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chomp-extensions
Submodule chomp-extensions updated 2 files
+7 −3 jspm.js
+1 −1 package.json
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mod server;

use std::path::PathBuf;

const CHOMP_CORE: &str = "https://ga.jspm.io/npm:@chompbuild/[email protected].15/";
const CHOMP_CORE: &str = "https://ga.jspm.io/npm:@chompbuild/[email protected].16/";

const CHOMP_INIT: &str = r#"version = 0.1
Expand Down
8 changes: 6 additions & 2 deletions src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,10 @@ impl<'a> Runner<'a> {
let deps = job.deps.clone();

for dep in deps {
// permit self-builds, arbitrary cycles will stall still though
if dep == job_num {
continue;
}
let dep_state = self.drive_all(
dep,
force,
Expand Down Expand Up @@ -1757,8 +1761,8 @@ impl<'a> Runner<'a> {
} else {
self.lookup_glob_target(watcher, target, glob_files).await?
};
for job_num in job_nums.iter() {
self.expand_job(watcher, *job_num, drives).await?;
for &job_num in job_nums.iter() {
self.expand_job(watcher, job_num, drives).await?;
}
Ok(job_nums)
}
Expand Down

0 comments on commit 82a2bde

Please sign in to comment.