Rename loop-claude to build-release, with no alias
This commit is contained in:
@@ -23,8 +23,8 @@ def unsorted_imports(source: str) -> list[int]:
|
||||
|
||||
class ImportOrder(unittest.TestCase):
|
||||
def test_each_python_file_sorts_its_imports_by_their_first_binding(self):
|
||||
listed = subprocess.run(["git", "ls-files", "*.py", "bin/loop-claude"], capture_output=True, check=True, cwd=ROOT, text=True).stdout.split()
|
||||
self.assertIn("bin/loop-claude", listed)
|
||||
listed = subprocess.run(["git", "ls-files", "*.py", "bin/build-release"], capture_output=True, check=True, cwd=ROOT, text=True).stdout.split()
|
||||
self.assertIn("bin/build-release", listed)
|
||||
for name in listed:
|
||||
with self.subTest(name):
|
||||
self.assertEqual(unsorted_imports((ROOT / name).read_text(encoding="utf-8")), [])
|
||||
|
||||
@@ -62,7 +62,7 @@ def part_cycles(bin_folder: pathlib.Path) -> dict[str, list[str]]:
|
||||
|
||||
|
||||
# The entry points that drive chunks. What two of them need lives in bin/chunk_driver/, so no other package imports one, its tests included.
|
||||
DRIVERS = ("do_epic", "loop_claude")
|
||||
DRIVERS = ("do_epic", "build_release")
|
||||
|
||||
|
||||
def driver_imports(bin_folder: pathlib.Path, drivers: tuple[str, ...]) -> list[str]:
|
||||
|
||||
@@ -8,9 +8,9 @@ from repo_checks import ROOT
|
||||
BY_ITS_FOLDER = re.compile(r"(?:~|\$HOME)/\.claude/bin/[\w.<>-]+(?![\w.<>/-])")
|
||||
# The plan, the changelog and the records: their text names a tool as it was spelled when the line was written, and nobody rewrites it.
|
||||
HISTORY = ("CHANGELOG.md", "docs/", "todo.md")
|
||||
# The lines a person runs in their own shell or a crontab, which lack the tools: only `loop-claude` is linked onto their `PATH`.
|
||||
# The lines a person runs in their own shell or a crontab, which lack the tools: only `build-release` is linked onto their `PATH`.
|
||||
BY_HAND = {
|
||||
"README.md": {"$HOME/.claude/bin/compress-archives", "~/.claude/bin/<tool>", "~/.claude/bin/loop-claude", "~/.claude/bin/notify", "~/.claude/bin/project-config"},
|
||||
"README.md": {"$HOME/.claude/bin/compress-archives", "~/.claude/bin/<tool>", "~/.claude/bin/build-release", "~/.claude/bin/notify", "~/.claude/bin/project-config"},
|
||||
"presentation/README.md": {"~/.claude/bin/run-heavy"},
|
||||
"presentation/build-pdf.py": {"~/.claude/bin/run-heavy"},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user