diff --git a/src/bin/installer.rs b/src/bin/installer.rs index 152820c430..0b6190e5fd 100644 --- a/src/bin/installer.rs +++ b/src/bin/installer.rs @@ -68,7 +68,7 @@ fn main() { // List the packages that should be fetched or built by the cookbook for (packagename, package) in &config.packages { match package { - PackageConfig::Build(rule) if rule == "recipe" => { + PackageConfig::Build(rule) if rule == "recipe" || rule == "source" => { println!("{}", packagename); } PackageConfig::Build(rule) if rule == "binary" => { diff --git a/src/bin/list_packages.rs b/src/bin/list_packages.rs index f5f6245d88..c5410cb940 100644 --- a/src/bin/list_packages.rs +++ b/src/bin/list_packages.rs @@ -55,7 +55,7 @@ fn main() { // List the packages that should be fetched or built by the cookbook for (packagename, package) in &config.packages { match package { - PackageConfig::Build(rule) if rule == "recipe" => { + PackageConfig::Build(rule) if rule == "recipe" || rule == "source" => { println!("{}", packagename); } PackageConfig::Build(rule) if rule == "binary" => {