NIHVIVO-46 Reformat.
This commit is contained in:
parent
963e3c85ca
commit
6bfaa29a0b
1 changed files with 15 additions and 20 deletions
|
@ -7,7 +7,6 @@ Create a copy of the source files, with licensing information inserted.
|
||||||
2010-01-26 initial version J.Blake
|
2010-01-26 initial version J.Blake
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
=end
|
=end
|
||||||
|
|
||||||
require 'date'
|
require 'date'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
|
||||||
|
@ -169,7 +168,6 @@ class Licenser
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if is_skipped_directory
|
if is_skipped_directory
|
||||||
# do nothing
|
# do nothing
|
||||||
elsif is_directory
|
elsif is_directory
|
||||||
|
@ -386,12 +384,10 @@ class Licenser
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
# Main routine
|
# Main routine
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
# BOGUS test harness
|
# BOGUS test harness
|
||||||
=begin
|
=begin
|
||||||
source_dir = '/Vivoweb_Stuff/Testing_licenser/sourceDir'
|
source_dir = '/Vivoweb_Stuff/Testing_licenser/sourceDir'
|
||||||
|
@ -402,7 +398,6 @@ full_report = true;
|
||||||
scan_only = true;
|
scan_only = true;
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
|
||||||
source_dir = File.dirname(File.dirname(File.expand_path(__FILE__)))
|
source_dir = File.dirname(File.dirname(File.expand_path(__FILE__)))
|
||||||
license_file = "#{source_dir}/doc/license.txt"
|
license_file = "#{source_dir}/doc/license.txt"
|
||||||
known_exceptions_file = "#{source_dir}/utilities/known_exceptions.txt"
|
known_exceptions_file = "#{source_dir}/utilities/known_exceptions.txt"
|
||||||
|
|
Loading…
Add table
Reference in a new issue