Skip to content

Make Commands

Run make help for the full list of available commands. Below they are grouped by category.

CommandDescription
make installInstall Python in editable mode (for development)
make install-gdocsInstall with Google Docs extras
make dev-installInstall with dev dependencies (includes commitizen)
make node-ui-depsInstall node_ui/ npm packages (needed by aichat’s menus)

These commands bump the version and install the package, but do not push or publish:

CommandDescription
make patchBump patch version (0.0.X) and install
make minorBump minor version (0.X.0) and install
make majorBump major version (X.0.0) and install
make releaseAlias for make patch

These commands do everything needed to prepare a PyPI release: bump version, push to GitHub, create a GitHub release, and build the package.

CommandDescription
make all-patchBump patch + push + GitHub release + build
make all-minorBump minor + push + GitHub release + build
make all-majorBump major + push + GitHub release + build
make publishPublish dist/ using the primary checkout’s .env
make release-githubCreate GitHub release from latest tag
make cleanClean dist/ build artifacts

After running any all-* command, publish with:

Terminal window
make publish

Linked worktrees automatically use the primary checkout’s .env. Set PYPI_ENV_FILE=/path/to/file to load the token from another dotenv file.

Voxtype and Visual Brief have independent versions, git tags, builds, and PyPI distributions. See Publishing for the complete release flow.

  • make voxtype-version: print the current version.
  • make voxtype-test: run the package tests.
  • make voxtype-install: install the package in editable mode.
  • make voxtype-build: build the wheel and source distribution.
  • make voxtype-release BUMP=patch: test, bump, commit, tag, push, create the GitHub release, and build. Use minor or major when needed.
  • make voxtype-publish: publish dist/voxtype-* to PyPI.
  • make voxtype-all BUMP=patch: release and publish in one invocation.
  • make voxtype-all-patch: prepare a patch release. The -minor and -major forms select those version parts.
  • make visual-brief-version: print the current version.
  • make visual-brief-frontend: rebuild the committed browser bundles.
  • make visual-brief-test: verify the bundle and run the package tests.
  • make visual-brief-install: install the package in editable mode.
  • make visual-brief-build: verify and build the wheel and source distribution.
  • make visual-brief-release BUMP=patch: test, bump, commit, tag, push, create the GitHub release, and build. Use minor or major when needed.
  • make visual-brief-publish: publish dist/visual_brief-* to PyPI.
  • make visual-brief-all BUMP=patch: release and publish in one invocation.
  • make visual-brief-all-patch: prepare a patch release. The -minor and -major forms select those version parts.
CommandDescription
make aichat-searchBuild the aichat-search binary
make aichat-search-installBuild and install to ~/.cargo/bin
make aichat-search-patchBump patch (0.0.X), tag, push
make aichat-search-minorBump minor (0.X.0), tag, push
make aichat-search-majorBump major (X.0.0), tag, push
make aichat-search-publishBump, tag, push, publish to crates.io
CommandDescription
make lmshBuild the lmsh binary
make lmsh-installBuild and install to ~/.cargo/bin
make lmsh-publishBump version and publish to crates.io
CommandDescription
make docs-devStart the Starlight docs dev server (hot reload)
make docs-buildBuild the docs site to docs-site/dist/
make docs-previewPreview the built docs site locally
CommandDescription
make fix-session-metadataScan for sessionId mismatches (dry-run)
make fix-session-metadata-applyFix sessionId mismatches
make delete-helper-sessionsFind helper sessions to delete (dry-run)
make delete-helper-sessions-applyDelete helper sessions
make update-homebrew VERSION=x.y.zUpdate Homebrew formula manually