Add conditional restore in Makefile
This commit is contained in:
parent
6c04f3e44e
commit
84a9fb980f
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -188,8 +188,10 @@ build_langflow:
|
||||||
cd ./scripts && poetry run python update_dependencies.py
|
cd ./scripts && poetry run python update_dependencies.py
|
||||||
poetry lock
|
poetry lock
|
||||||
poetry build
|
poetry build
|
||||||
|
ifdef restore
|
||||||
mv pyproject.toml.bak pyproject.toml
|
mv pyproject.toml.bak pyproject.toml
|
||||||
mv poetry.lock.bak poetry.lock
|
mv poetry.lock.bak poetry.lock
|
||||||
|
endif
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
make install_frontend
|
make install_frontend
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue