Skip to content
Snippets Groups Projects
Commit 729c5631 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'source-recipe' into 'master'

Accept "source" as an alternative to "recipe"

See merge request !42
parents 7c359f16 47282ba9
No related branches found
No related tags found
1 merge request!42Accept "source" as an alternative to "recipe"
......@@ -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" => {
......
......@@ -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" => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment