mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
15a3d16d08
Man this file even had some semicolons in it. I cleaned up the entire file, while it's still pretty ugly it's much better now. I also added type checks so it passes mypy --strict. make_type now throws a warning on unresolved type references, which there are a bunch of. I'm not responsible for fixing those though. Also some more hardening against crashes. For example XML tags without content won't cause crashes now. Functionality has not been modified as far as I can tell. Update Makefile for Python 3 Fix ordering issues related to enums & constants
29 lines
541 B
Makefile
29 lines
541 B
Makefile
BASEDIR = $(CURDIR)
|
|
CLASSES = $(BASEDIR)/classes/ $(BASEDIR)/../modules/
|
|
OUTPUTDIR = $(BASEDIR)/_build
|
|
TOOLSDIR = $(BASEDIR)/tools
|
|
|
|
.ONESHELL:
|
|
|
|
clean:
|
|
rm -rf $(OUTPUTDIR)
|
|
|
|
doxygen:
|
|
rm -rf $(OUTPUTDIR)/doxygen
|
|
mkdir -p $(OUTPUTDIR)/doxygen
|
|
doxygen Doxyfile
|
|
|
|
markdown:
|
|
rm -rf $(OUTPUTDIR)/markdown
|
|
mkdir -p $(OUTPUTDIR)/markdown
|
|
pushd $(OUTPUTDIR)/markdown
|
|
python2 $(TOOLSDIR)/makemd.py $(CLASSES)
|
|
popd
|
|
|
|
rst:
|
|
rm -rf $(OUTPUTDIR)/rst
|
|
mkdir -p $(OUTPUTDIR)/rst
|
|
pushd $(OUTPUTDIR)/rst
|
|
python3 $(TOOLSDIR)/makerst.py $(CLASSES)
|
|
popd
|