Commit f0d1be42 authored by Michał Siwek's avatar Michał Siwek

Move test.rb and device.json to development branch

parent 70cae4eb
{
"architecture": "i686",
"installed_packages": [
]
}
\ No newline at end of file
#require './packages/buildessential'
require 'json'
require 'pathname'
@device = JSON.parse(File.read('./device.json'), symbolize_names: true)
@device.each do |key, elem|
@device[key] = @device[key].to_sym rescue @device[key]
end
Dir.chdir './meta' do
File.open("make.directorylist").each_line do |line|
#puts line
system "mkdir -p " + line.chomp
end
File.open("make.filelist").each_line do |line|
Dir.chdir '../tmp' do
system "mv", '.' + line.chomp, line.chomp
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment