class RBT::WhatCouldBecomeAnAppDir
Constants
- UBIN
#¶ ↑
UBIN
¶ ↑#¶ ↑
Public Class Methods
[](i = ARGV)
click to toggle source
Public Instance Methods
is_binary?(i)
click to toggle source
reset()
click to toggle source
run()
click to toggle source
#¶ ↑
run¶ ↑
#¶ ↑
# File lib/rbt/utility_scripts/what_could_become_an_app_dir.rb, line 65 def run _ = UBIN opne 'Going through all binaries at '+sdir(_)+rev+' next:' all_files = all_files_from(_) all_files.each_with_index {|this_file, index| index += 1 short_name = File.basename(this_file) if is_this_binary_registered?(short_name) and !is_symlink?(this_file) opne rev+'This binary ('+steelblue(short_name)+ rev+') could be compiled in an AppDir manner, by issuing:' e e steelblue(" ntrad #{short_name}") e else if is_binary?(this_file) opne lightgreen(index.to_s+') ')+ tomato('Not registered binary: ')+ steelblue(short_name) end end } end