lib/quality/rake/config.rb in quality-5.0.1 vs lib/quality/rake/config.rb in quality-6.0.0
- old
+ new
@@ -37,18 +37,18 @@
#
# Defaults to .
attr_accessor :output_dir
def ruby_dirs
- @ruby_dirs ||= %w(app lib test spec feature)
+ @ruby_dirs ||= %w(src app lib test spec feature)
end
def source_dirs
@source_dirs ||= ruby_dirs.clone
end
def source_files_glob(dirs = source_dirs,
- extensions = 'rb,swift,cpp,c,java,py')
+ extensions = 'rb,swift,cpp,c,java,py,clj,cljs')
File.join("{#{dirs.join(',')}}", '**', "*.{#{extensions}}")
end
def ruby_files_glob
source_files_glob(ruby_dirs, 'rb')