Adjust build script to accept Agda invocation

This might come in useful from NixOS

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2024-05-22 23:05:36 -07:00
parent c0f4fe017f
commit d6db020e1c

View File

@ -31,6 +31,6 @@ files_for_paths.each do |path, files|
Dir.chdir(File.join [original_wd, path])
files.each do |file|
puts "Invoking 'agda' on file: #{File.join [Dir.getwd, file]}"
`agda --local-interfaces #{file} --html --html-dir=html`
`#{ARGV[0]} --local-interfaces #{file} --html --html-dir=html`
end
end