chore: remove unnecessary target from makefile (#4702)
This commit is contained in:
parent
1aef2d8d62
commit
d65274da78
1 changed files with 7 additions and 24 deletions
31
Makefile
31
Makefile
|
|
@ -209,11 +209,13 @@ endif
|
|||
|
||||
run_cli: install_frontend install_backend build_frontend ## run the CLI
|
||||
@echo 'Running the CLI'
|
||||
ifdef env
|
||||
@make start env=$(env) host=$(host) port=$(port) log_level=$(log_level)
|
||||
else
|
||||
@make start host=$(host) port=$(port) log_level=$(log_level)
|
||||
endif
|
||||
@uv run langflow run \
|
||||
--frontend-path $(path) \
|
||||
--log-level $(log_level) \
|
||||
--host $(host) \
|
||||
--port $(port) \
|
||||
$(if $(env),--env-file $(env),) \
|
||||
$(if $(filter false,$(open_browser)),--no-open-browser)
|
||||
|
||||
run_cli_debug:
|
||||
@echo 'Running the CLI in debug mode'
|
||||
|
|
@ -228,25 +230,6 @@ else
|
|||
@make start host=$(host) port=$(port) log_level=debug
|
||||
endif
|
||||
|
||||
start:
|
||||
@echo 'Running the CLI'
|
||||
|
||||
ifeq ($(open_browser),false)
|
||||
@make install_backend && uv run langflow run \
|
||||
--frontend-path $(path) \
|
||||
--log-level $(log_level) \
|
||||
--host $(host) \
|
||||
--port $(port) \
|
||||
--env-file $(env) \
|
||||
--no-open-browser
|
||||
else
|
||||
@make install_backend && uv run langflow run \
|
||||
--frontend-path $(path) \
|
||||
--log-level $(log_level) \
|
||||
--host $(host) \
|
||||
--port $(port) \
|
||||
--env-file $(env)
|
||||
endif
|
||||
|
||||
setup_devcontainer: ## set up the development container
|
||||
make install_backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue