mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Add unbuilt util_linux to updater-util_linux-2.41.2 * Move to meson WIP. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * WIP util-linux changes. See also https://github.com/util-linux/util-linux/issues/3763 for upstream build failure report. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update to latest commit from stable/v2.4.1 branch. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix util_linux build using 5.10 linux headers, rebuild pcre2. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Let gitlab_pkginfo handle build packages, fix download of build packages, fix debug aliases, fix crew const not working in a repo root. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update arm binaries for util_linux. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix cached archive download_check in installer.sh Signed-off-by: Satadru Pramanik <satadru@gmail.com> * bump version Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
24 lines
671 B
Ruby
24 lines
671 B
Ruby
require_relative '../lib/const'
|
|
|
|
class Command
|
|
def self.const(constant)
|
|
if constant
|
|
begin
|
|
puts "#{constant}=#{Object.const_get(constant.to_sym)}"
|
|
rescue NameError
|
|
puts "Constant #{constant} not found"
|
|
end
|
|
else
|
|
# Get all constants defined by const.rb
|
|
constants = Object.constants.select do |const|
|
|
Object.const_source_location(const).first == File.realpath(File.join(__dir__, '../lib/const.rb'))
|
|
end.sort
|
|
|
|
# Print a sorted list of the remaining constants used by crew.
|
|
constants.each do |constant|
|
|
puts "#{constant}=#{Object.const_get(constant.to_sym)}"
|
|
end
|
|
end
|
|
end
|
|
end
|