mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Show error on 'datasette publish heroku --spatialite', refs #301
This commit is contained in:
parent
b18e451585
commit
a80e1d50b9
1 changed files with 13 additions and 0 deletions
|
|
@ -199,6 +199,19 @@ def publish(
|
||||||
_fail_if_publish_binary_not_installed(
|
_fail_if_publish_binary_not_installed(
|
||||||
"heroku", "Heroku", "https://cli.heroku.com"
|
"heroku", "Heroku", "https://cli.heroku.com"
|
||||||
)
|
)
|
||||||
|
if spatialite:
|
||||||
|
click.secho(
|
||||||
|
"The --spatialite option is not yet supported for Heroku",
|
||||||
|
bg="red",
|
||||||
|
fg="white",
|
||||||
|
bold=True,
|
||||||
|
err=True,
|
||||||
|
)
|
||||||
|
click.echo(
|
||||||
|
"See https://github.com/simonw/datasette/issues/301",
|
||||||
|
err=True,
|
||||||
|
)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
# Check for heroku-builds plugin
|
# Check for heroku-builds plugin
|
||||||
plugins = [
|
plugins = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue