mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-126206: make clinic now forcefully regenerates clinic code (#126244)
This commit is contained in:
parent
295262c8ec
commit
43447cb634
2 changed files with 3 additions and 1 deletions
|
|
@ -904,7 +904,7 @@ coverage-report: regen-token regen-frozen
|
|||
# Run "Argument Clinic" over all source files
|
||||
.PHONY: clinic
|
||||
clinic: check-clean-src
|
||||
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --make --exclude Lib/test/clinic.test.c --srcdir $(srcdir)
|
||||
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --force --make --exclude Lib/test/clinic.test.c --srcdir $(srcdir)
|
||||
|
||||
.PHONY: clinic-tests
|
||||
clinic-tests: check-clean-src $(srcdir)/Lib/test/clinic.test.c
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
``make clinic`` now runs Argument Clinic using the ``--force`` option,
|
||||
thus forcefully regenerating generated code.
|
||||
Loading…
Add table
Add a link
Reference in a new issue