Skip to content

rattler-build#

Usage#

rattler-build [OPTIONS] [COMMAND]

Subcommands#

Command Description
build Build a package from a recipe
publish Publish packages to a channel. This command builds packages from recipes (or uses already built packages), uploads them to a channel, and runs indexing
test Run a test for a single package
rebuild Rebuild a package from a package file instead of a recipe
upload Upload a package
completion Generate shell completion script
generate-recipe Generate a recipe from PyPI, CRAN, CPAN, or LuaRocks
auth Handle authentication to external channels
debug Debug a recipe build
package Package-related subcommands
bump-recipe Bump a recipe to a new version
migrate-recipe Migrate a recipe from the deprecated cache: format to staging: outputs

Options#

  • --verbose (-v)
    Increase logging verbosity
  • --quiet (-q)
    Decrease logging verbosity
  • --log-style <LOG_STYLE>
    Logging style
    env: RATTLER_BUILD_LOG_STYLE
    default: fancy
    options: fancy, json, plain, simple
  • --wrap-log-lines <WRAP_LOG_LINES>
    Wrap log lines at the terminal width. This is automatically disabled on CI (by detecting the CI environment variable)
    env: RATTLER_BUILD_WRAP_LOG_LINES
    options: true, false
  • --config-file <CONFIG_FILE>
    The rattler-build configuration file to use
  • --color <COLOR>
    Enable or disable colored output from rattler-build. Also honors the CLICOLOR and CLICOLOR_FORCE environment variable
    env: RATTLER_BUILD_COLOR
    default: auto
    options: always, never, auto