Add conditional restore in Makefile

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-04 18:26:52 -03:00
commit 84a9fb980f

View file

@ -188,8 +188,10 @@ build_langflow:
cd ./scripts && poetry run python update_dependencies.py
poetry lock
poetry build
ifdef restore
mv pyproject.toml.bak pyproject.toml
mv poetry.lock.bak poetry.lock
endif
dev:
make install_frontend