File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ in pkgs.runCommand "project-coverage-report"
106
106
popd
107
107
}
108
108
109
+ mkdir -p $out/nix-support
109
110
mkdir -p $out/share/hpc/vanilla/tix/all
110
111
mkdir -p $out/share/hpc/vanilla/mix/
111
112
mkdir -p $out/share/hpc/vanilla/html/
@@ -136,6 +137,7 @@ in pkgs.runCommand "project-coverage-report"
136
137
137
138
# Markup a HTML coverage report for the entire project
138
139
cp ${ projectIndexHtml } $out/share/hpc/vanilla/html/index.html
140
+ echo "report coverage-per-package $out/share/hpc/vanilla/html/index.html" >> $out/nix-support/hydra-build-products
139
141
140
142
local markupOutDir="$out/share/hpc/vanilla/html/all"
141
143
local srcDirs=${ toBashArray srcDirs }
@@ -146,5 +148,6 @@ in pkgs.runCommand "project-coverage-report"
146
148
findModules allMixModules "$out/share/hpc/vanilla/mix/" "*.mix"
147
149
148
150
markup srcDirs mixDirs allMixModules "$markupOutDir" "$tixFile"
151
+ echo "report coverage $markupOutDir/hpc_index.html" >> $out/nix-support/hydra-build-products
149
152
fi
150
153
''
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ in pkgs.runCommand (name + "-coverage-report")
99
99
100
100
local mixDirs=${ toBashArray mixDirs }
101
101
102
+ mkdir -p $out/nix-support
102
103
mkdir -p $out/share/hpc/vanilla/mix/${ name }
103
104
mkdir -p $out/share/hpc/vanilla/tix/${ name }
104
105
mkdir -p $out/share/hpc/vanilla/html/${ name }
@@ -161,5 +162,7 @@ in pkgs.runCommand (name + "-coverage-report")
161
162
162
163
# Markup a HTML report, included modules from only this package
163
164
markup srcDirs mixDirs pkgMixModules "$markupOutDir" "$sumTixFile"
165
+
166
+ echo "report coverage $markupOutDir/hpc_index.html" >> $out/nix-support/hydra-build-products
164
167
fi
165
168
''
You can’t perform that action at this time.
0 commit comments