From 8b1e4e4a0c151e60ff959cd89751f587591fc462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sotetsu=20KOYAMADA=EF=BC=88=E5=B0=8F=E5=B1=B1=E7=94=B0?= =?UTF-8?q?=E5=89=B5=E5=93=B2=EF=BC=89?= Date: Mon, 22 Aug 2022 20:41:31 +0900 Subject: [PATCH] Add archives dir (#1113) * add archives dir * fix * rm scripts from build --- CMakeLists.txt | 2 +- Makefile | 10 +++++----- {docs => archives/docs}/Makefile | 0 {docs => archives/docs}/README-cli.txt | 0 {docs => archives/docs}/README.md | 0 {docs => archives/docs}/README_archived.md | 0 {docs => archives/docs}/clion/Dockerfile | 0 {docs => archives/docs}/clion/README.md | 0 {docs => archives/docs}/clion/build.sh | 0 {docs => archives/docs}/img/architecture.png | Bin {docs => archives/docs}/img/diagram.png | Bin {docs => archives/docs}/img/serialization.png | Bin {docs => archives/docs}/plantuml/diagram.pu | 0 {docs => archives/docs}/plantuml/mjproto.pu | 0 {docs => archives/docs}/plantuml/serialization.pu | 0 {examples => archives/examples}/.gitignore | 0 {examples => archives/examples}/Makefile | 0 .../examples}/pettingzoo_example.py | 0 {examples => archives/examples}/rllib_example.py | 0 {scripts => archives/scripts}/CMakeLists.txt | 0 {scripts => archives/scripts}/filter.py | 0 {scripts => archives/scripts}/run_games.cpp | 0 {scripts => archives/scripts}/run_games.py | 0 {scripts => archives/scripts}/run_server.cpp | 0 {scripts => archives/scripts}/serve.py | 0 {scripts => archives/scripts}/speed_benchmark.cpp | 0 26 files changed, 6 insertions(+), 6 deletions(-) rename {docs => archives/docs}/Makefile (100%) rename {docs => archives/docs}/README-cli.txt (100%) rename {docs => archives/docs}/README.md (100%) rename {docs => archives/docs}/README_archived.md (100%) rename {docs => archives/docs}/clion/Dockerfile (100%) rename {docs => archives/docs}/clion/README.md (100%) rename {docs => archives/docs}/clion/build.sh (100%) rename {docs => archives/docs}/img/architecture.png (100%) rename {docs => archives/docs}/img/diagram.png (100%) rename {docs => archives/docs}/img/serialization.png (100%) rename {docs => archives/docs}/plantuml/diagram.pu (100%) rename {docs => archives/docs}/plantuml/mjproto.pu (100%) rename {docs => archives/docs}/plantuml/serialization.pu (100%) rename {examples => archives/examples}/.gitignore (100%) rename {examples => archives/examples}/Makefile (100%) rename {examples => archives/examples}/pettingzoo_example.py (100%) rename {examples => archives/examples}/rllib_example.py (100%) rename {scripts => archives/scripts}/CMakeLists.txt (100%) rename {scripts => archives/scripts}/filter.py (100%) rename {scripts => archives/scripts}/run_games.cpp (100%) rename {scripts => archives/scripts}/run_games.py (100%) rename {scripts => archives/scripts}/run_server.cpp (100%) rename {scripts => archives/scripts}/serve.py (100%) rename {scripts => archives/scripts}/speed_benchmark.cpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa784b1d6..19abd4ff0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,7 +168,7 @@ target_link_libraries(win_cache_generator mjx) if(MJX_BUILD_TESTS) add_subdirectory(tests_cpp) - add_subdirectory(scripts) + # add_subdirectory(scripts) endif() #################################################################################### diff --git a/Makefile b/Makefile index 6f49c4cd5..ea0b7d335 100644 --- a/Makefile +++ b/Makefile @@ -54,13 +54,13 @@ py-test: dist python3 -m pytest tests_py --import-mode=importlib py-fmt: - black mjx tests_py examples scripts - blackdoc mjx tests_py examples scripts - isort mjx tests_py examples scripts + black mjx tests_py + blackdoc mjx tests_py + isort mjx tests_py py-check: - black --check --diff mjx tests_py examples scripts - blackdoc --check mjx tests_py examples scripts + black --check --diff mjx tests_py + blackdoc --check mjx tests_py isort --check --diff mjx tests_py flake8 --config pyproject.toml --ignore E203,E501,W503 mjx # tests_py examples scripts # mypy --config pyproject.toml mjx diff --git a/docs/Makefile b/archives/docs/Makefile similarity index 100% rename from docs/Makefile rename to archives/docs/Makefile diff --git a/docs/README-cli.txt b/archives/docs/README-cli.txt similarity index 100% rename from docs/README-cli.txt rename to archives/docs/README-cli.txt diff --git a/docs/README.md b/archives/docs/README.md similarity index 100% rename from docs/README.md rename to archives/docs/README.md diff --git a/docs/README_archived.md b/archives/docs/README_archived.md similarity index 100% rename from docs/README_archived.md rename to archives/docs/README_archived.md diff --git a/docs/clion/Dockerfile b/archives/docs/clion/Dockerfile similarity index 100% rename from docs/clion/Dockerfile rename to archives/docs/clion/Dockerfile diff --git a/docs/clion/README.md b/archives/docs/clion/README.md similarity index 100% rename from docs/clion/README.md rename to archives/docs/clion/README.md diff --git a/docs/clion/build.sh b/archives/docs/clion/build.sh similarity index 100% rename from docs/clion/build.sh rename to archives/docs/clion/build.sh diff --git a/docs/img/architecture.png b/archives/docs/img/architecture.png similarity index 100% rename from docs/img/architecture.png rename to archives/docs/img/architecture.png diff --git a/docs/img/diagram.png b/archives/docs/img/diagram.png similarity index 100% rename from docs/img/diagram.png rename to archives/docs/img/diagram.png diff --git a/docs/img/serialization.png b/archives/docs/img/serialization.png similarity index 100% rename from docs/img/serialization.png rename to archives/docs/img/serialization.png diff --git a/docs/plantuml/diagram.pu b/archives/docs/plantuml/diagram.pu similarity index 100% rename from docs/plantuml/diagram.pu rename to archives/docs/plantuml/diagram.pu diff --git a/docs/plantuml/mjproto.pu b/archives/docs/plantuml/mjproto.pu similarity index 100% rename from docs/plantuml/mjproto.pu rename to archives/docs/plantuml/mjproto.pu diff --git a/docs/plantuml/serialization.pu b/archives/docs/plantuml/serialization.pu similarity index 100% rename from docs/plantuml/serialization.pu rename to archives/docs/plantuml/serialization.pu diff --git a/examples/.gitignore b/archives/examples/.gitignore similarity index 100% rename from examples/.gitignore rename to archives/examples/.gitignore diff --git a/examples/Makefile b/archives/examples/Makefile similarity index 100% rename from examples/Makefile rename to archives/examples/Makefile diff --git a/examples/pettingzoo_example.py b/archives/examples/pettingzoo_example.py similarity index 100% rename from examples/pettingzoo_example.py rename to archives/examples/pettingzoo_example.py diff --git a/examples/rllib_example.py b/archives/examples/rllib_example.py similarity index 100% rename from examples/rllib_example.py rename to archives/examples/rllib_example.py diff --git a/scripts/CMakeLists.txt b/archives/scripts/CMakeLists.txt similarity index 100% rename from scripts/CMakeLists.txt rename to archives/scripts/CMakeLists.txt diff --git a/scripts/filter.py b/archives/scripts/filter.py similarity index 100% rename from scripts/filter.py rename to archives/scripts/filter.py diff --git a/scripts/run_games.cpp b/archives/scripts/run_games.cpp similarity index 100% rename from scripts/run_games.cpp rename to archives/scripts/run_games.cpp diff --git a/scripts/run_games.py b/archives/scripts/run_games.py similarity index 100% rename from scripts/run_games.py rename to archives/scripts/run_games.py diff --git a/scripts/run_server.cpp b/archives/scripts/run_server.cpp similarity index 100% rename from scripts/run_server.cpp rename to archives/scripts/run_server.cpp diff --git a/scripts/serve.py b/archives/scripts/serve.py similarity index 100% rename from scripts/serve.py rename to archives/scripts/serve.py diff --git a/scripts/speed_benchmark.cpp b/archives/scripts/speed_benchmark.cpp similarity index 100% rename from scripts/speed_benchmark.cpp rename to archives/scripts/speed_benchmark.cpp