Skip to content

Commit

Permalink
Move some internal maintenance tools to tools/maint/ (emscripten-core…
Browse files Browse the repository at this point in the history
…#19419)

Also, remove two ancient unused/untested tools: find_bigfuncs.py and
find_bigvars.py.
  • Loading branch information
sbc100 authored May 22, 2023
1 parent 5a4814e commit 85daeb9
Show file tree
Hide file tree
Showing 51 changed files with 49 additions and 195 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ commands:
name: run tests (<< parameters.title >>)
command: |
./test/runner << parameters.test_targets >>
$EMSDK_PYTHON ./tools/check_clean.py
$EMSDK_PYTHON ./test/check_clean.py
freeze-cache:
description: "Freeze emscripten cache"
steps:
Expand Down
2 changes: 1 addition & 1 deletion em-config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion em-config.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emar
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emar.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion embuilder
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion embuilder.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emcmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emcmake.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emconfigure
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emconfigure.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emdump
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emdump.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emdwp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emdwp.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emmake.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emnm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emnm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emprofile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emprofile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emranlib
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emranlib.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emrun
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emrun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emscons
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emscons.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emsize
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emsize.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emstrip
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emstrip.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion emsymbolizer
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion emsymbolizer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion system/bin/sdl-config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion system/bin/sdl-config.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion system/bin/sdl2-config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion system/bin/sdl2-config.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/runner
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion test/runner.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
2 changes: 1 addition & 1 deletion tools/file_packager
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Automatically generated by `create_entry_points.py`; DO NOT EDIT.
#
# To make modifications to this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
# `tools/maint/create_entry_points.py`

# $PYTHON -E will not ignore _PYTHON_SYSCONFIGDATA_NAME an internal
# of cpython used in cross compilation via setup.py.
Expand Down
2 changes: 1 addition & 1 deletion tools/file_packager.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Automatically generated by `create_entry_points.py`; DO NOT EDIT.
::
:: To make modifications to this file, edit `tools/run_python.bat` and then run
:: `tools/create_entry_points.py`
:: `tools/maint/create_entry_points.py`

:: N.b. In Windows .bat scripts, the ':' character cannot appear inside any if () blocks,
:: or there will be a parsing error.
Expand Down
Loading

0 comments on commit 85daeb9

Please sign in to comment.