Created
May 16, 2017 17:18
-
-
Save jenya239/77278b94f61feb84d9953d1fb8843dd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'find' | |
paths = [] | |
Find.find('.') do |path| | |
next unless path =~ /.*\.jar$/ | |
next if path =~ /javadoc\.jar$/ or path =~ /sources\.jar$/ | |
next if path.include? 'test' | |
paths << path | |
end | |
paths.each do | path | | |
print path + "\n" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment