mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Miscellaneous crew changes (#9311)
* Make greater use of File.join when loading device.json * Remove redundant check that the compatibility property exists (already checked by prop_test as part of CI) * Don't pass architecture to lib/package.rb * Replace @device[:architecture] with ARCH, do not create architecture section in device.json * Refactor getting urls and sha256s in package.rb * Use inplace sort on installed_packages instead of creating sorted_installed_packages * Rework load_package to always only take one argument * Only rescue package loading errors in set_package * Remove generate_compatible * Replace all calls to load_package with set_package * Use _args instead of _ in prop_command * Merge @short_verbose and @verbose * Simplify filename detection in download * Bump crew version
This commit is contained in:
committed by
GitHub
parent
59370bd08b
commit
7a5eff8945
@@ -16,8 +16,7 @@ puts "Running dependency cycle tests...\n".yellow
|
||||
|
||||
# Loads all packages
|
||||
Dir['../packages/*.rb'].each do |filename|
|
||||
name = File.basename(filename, '.rb')
|
||||
pkg = Package.load_package(filename, name)
|
||||
pkg = Package.load_package(filename)
|
||||
@all_pkgs[name] = pkg
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user