Compare commits

...

2 commits

Author SHA1 Message Date
Glenn Y. Rolland 74a52a43e0 fix: ensure files are sorted by name
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-23 16:23:32 +01:00
Glenn Y. Rolland 2d97187e4f doc: add example prompts 2024-01-23 16:23:11 +01:00
4 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,7 @@
Please focus on «@@ FILE ...» and analyze the content of «@@ FILE "{{FIXME: name of the file you want ot analyze}}"».
Provide your analysis as an appreciative feedback, stating:
- what you appreciate in current version
- what you would amplify / augment
- what you would adjust / change / remplace

View file

@ -0,0 +1,3 @@
Focus on the existing «@@ FILE "README.md"». and concentrate on your analysis and appreciative feedback too.
Please take in account each change you propose and write a fixed/improved version of the «@@ FILE "README.md"»

View file

@ -127,7 +127,7 @@ module CodePreloader
STDERR.puts "Processing source directories: #{source_list}".colorize(:yellow)
processed_files = [] of ProcessedFile
filelist.each do |file_path|
filelist.to_a.sort.each do |file_path|
STDERR.puts "Processing file: #{file_path}".colorize(:yellow)
file_result = process_file(file_path, output_file)
processed_files << file_result

View file

@ -46,7 +46,7 @@ module CodePreloader
seen = Set(String).new
# walk each source
@sources.each do |dir|
@sources.sort.each do |dir|
walker = Walk::Down.new(dir)
walker = walker.filter do |path|
@ -88,7 +88,7 @@ module CodePreloader
self.each do |path|
files << path.to_s
end
files
files.sort
end
end
end