Skip to content
Snippets Groups Projects
Commit 3396d479 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

build: write options to file.

These can be useful for later inspection or upload by `gist-logs` if
there's a failed install and it's unclear from logs alone what options
were used.
parent 0c140f09
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,8 @@ class Build
else
formula.prefix.mkpath
(formula.logs/"00.options.out").write \
"#{formula.full_name} #{formula.build.used_options.sort.join(" ")}".strip
formula.install
stdlibs = detect_stdlibs(ENV.compiler)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment