Obsolete
/
packaging
Archived
3
0
Fork 0

SpecParser API update.

master
Luka Vandervelden 2019-11-05 13:52:37 +01:00
parent a207e47ce5
commit 2eb87bdf25
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ class Package::Context
end
def read_configuration(filename : String)
specs = SpecParser.parse(filename)
specs = SpecParser.parse(File.read(filename))
specs.assignments.each do |key, value|
case key

View File

@ -91,7 +91,7 @@ class Package::Recipe
end
def initialize(@context, filename : String)
specs = SpecParser.parse filename, {
specs = SpecParser.parse File.read(filename), {
"pkg" => fake_root_directory,
"prefix" => prefix
}