feat: added debug option in make dev
This commit is contained in:
parent
5beaf7bd13
commit
743e935bec
2 changed files with 34 additions and 5 deletions
11
Makefile
11
Makefile
|
|
@ -40,16 +40,17 @@ build:
|
|||
rm -rf src/backend/langflow/frontend
|
||||
|
||||
dev:
|
||||
make install_frontend
|
||||
make install_frontend
|
||||
ifeq ($(build),1)
|
||||
@echo 'Running docker compose up with build'
|
||||
docker compose up --build
|
||||
@echo 'Running docker compose up with build'
|
||||
docker compose up $(if $(debug),-f docker-compose.debug.yml) --build
|
||||
else
|
||||
@echo 'Running docker compose up without build'
|
||||
docker compose up
|
||||
@echo 'Running docker compose up without build'
|
||||
docker compose up $(if $(debug),-f docker-compose.debug.yml)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
publish:
|
||||
make build
|
||||
poetry publish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue