Skip to content

Commit

Permalink
build: cog moved
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Feb 22, 2023
1 parent 65dcfc2 commit 152890c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,20 +131,20 @@ prebuild: css workflows cogdoc ## One command for all source prep.

_sample_cog_html: clean
python -m pip install -e .
cd ~/cog/trunk; \
cd ~/cog; \
rm -rf htmlcov; \
PYTEST_ADDOPTS= coverage run --branch --source=cogapp -m pytest -k CogTestsInMemory; \
coverage combine; \
coverage html

sample_html: _sample_cog_html ## Generate sample HTML report.
rm -f doc/sample_html/*.*
cp -r ~/cog/trunk/htmlcov/ doc/sample_html/
cp -r ~/cog/htmlcov/ doc/sample_html/
rm doc/sample_html/.gitignore

sample_html_beta: _sample_cog_html ## Generate sample HTML report for a beta release.
rm -f doc/sample_html_beta/*.*
cp -r ~/cog/trunk/htmlcov/ doc/sample_html_beta/
cp -r ~/cog/htmlcov/ doc/sample_html_beta/
rm doc/sample_html_beta/.gitignore


Expand Down

0 comments on commit 152890c

Please sign in to comment.