From 84a9fb980f16ed75c9425a0f826a3d58e0f1ce35 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 4 Apr 2024 18:26:52 -0300 Subject: [PATCH] Add conditional restore in Makefile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ae3f08fe9..965086f99 100644 --- a/Makefile +++ b/Makefile @@ -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