Skip to content

--build-options doesn't seem to work #2347

@jdetter

Description

@jdetter

This issue was confirmed by me. Note the ==build-otpions help text here:

$ spacetime publish --help
Create and update a SpacetimeDB database

Usage: spacetimedb-cli.exe publish [OPTIONS] [name|identity]

Arguments:
  [name|identity]  A valid domain or identity for this database

Options:
  -c, --delete-data                    When publishing to an existing database identity, first DESTROY all data associated with the module
      --build-options <build_options>  Options to pass to the build command, for example --build-options='--skip-println-checks' [default: ]
  -p, --project-path <project_path>    The system path (absolute or relative) to the module project [default: .]
  -b, --bin-path <wasm_file>           The system path (absolute or relative) to the compiled wasm binary we should publish, instead of building the project.
      --anonymous                      Perform this action with an anonymous identity
  -s, --server <server>                The nickname, domain name or URL of the server to host the database.
  -y, --yes                            Run non-interactively wherever possible. This will answer "yes" to almost all prompts, but will sometimes answer "no" to preserve non-interactivity (e.g. when
                                       prompting whether to log in with spacetimedb.com).
  -h, --help                           Print help

Run `spacetime help publish` for more detailed information.

When you actually try to use it:

$ spacetime publish --build-options='--skip-println-checks'
error: unexpected argument '--skip-println-checks' found

Usage: build [OPTIONS]

For more information, try '--help'.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions