Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2ac3e1

Browse files
committed
build: sample HTML shouldn't include the status.json file
1 parent 910f8f3 commit e2ac3e1

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ _sample_cog_html: clean
198198
sample_html: _sample_cog_html #- Generate sample HTML report.
199199
rm -f doc/sample_html/*.*
200200
cp -r ~/cog/htmlcov/ doc/sample_html/
201-
rm doc/sample_html/.gitignore
201+
rm doc/sample_html/.gitignore doc/sample_html/status.json
202202

203203
sample_html_beta: _sample_cog_html #- Generate sample HTML report for a beta release.
204204
rm -f doc/sample_html_beta/*.*
205205
cp -r ~/cog/htmlcov/ doc/sample_html_beta/
206-
rm doc/sample_html_beta/.gitignore
206+
rm doc/sample_html_beta/.gitignore doc/sample_html_beta/status.json
207207

208208

209209
### Kitting: making releases
@@ -314,13 +314,11 @@ WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta
314314
publish: #- Publish the sample HTML report.
315315
rm -f $(WEBSAMPLE)/*.*
316316
mkdir -p $(WEBSAMPLE)
317-
rm doc/sample_html/status.json
318317
cp doc/sample_html/*.* $(WEBSAMPLE)
319318

320319
publishbeta:
321320
rm -f $(WEBSAMPLEBETA)/*.*
322321
mkdir -p $(WEBSAMPLEBETA)
323-
rm doc/sample_html_beta/status.json
324322
cp doc/sample_html_beta/*.* $(WEBSAMPLEBETA)
325323

326324
CHANGES_MD = tmp/rst_rst/changes.md

0 commit comments

Comments
 (0)