mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Change crew to remove already installed packages and the target package from the dependencies.
Change crew to hide `buildessential` from dependencies list since it is a fake package. Change crew to not check :build dependencies if a target is already installed. Chagen crew to remove unnecessary push_dependency call. Change package.rb to update comments
This commit is contained in:
@@ -12,8 +12,9 @@ class Package
|
||||
@@debug_symbol = ENV['CREW_DEBUG_SYMBOL'] || false
|
||||
|
||||
def self.dependencies
|
||||
# Not sure how to initialize instance variable of not constructed class.
|
||||
# Therefore, initialize it in reader function.
|
||||
# We need instance variable in derived class, so not define it here,
|
||||
# base class. Instead of define it, we initialize it in a function
|
||||
# called from derived classees.
|
||||
@dependencies = Hash.new unless @dependencies
|
||||
@dependencies
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user