Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Apr 28, 2024
1 parent fa89f0b commit 40b16fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install: ## Install all necessary tools

venv: ## Create python3 venv if it does not exists
$(info --> Create python virtual env ($(VENV_DIR)))
if [[ ! -d $(VENV_DIR) ]]; then
if [ ! -d $(VENV_DIR) ]; then
uv venv $(VENV_DIR)
fi
@echo -e "\n--> You should now activate the python3 venv with:"
Expand All @@ -36,7 +36,7 @@ install-vlad-bb-fork: ## Install vlad bb fork
@echo -e "\n--> Make sure to install following packages:"
@echo -e "- libmariadb-dev"
@echo -e "- libvirt-dev\n"
if [[ ! -d $(VENDOR_DIR) ]]; then \
if [ ! -d $(VENDOR_DIR) ]; then \
git clone --branch grid https://github.com/vladbogo/buildbot $(VENDOR_DIR); \
cd $(VENDOR_DIR)/master && python setup.py bdist_wheel; \
uv pip install ./dist/*.whl; \
Expand All @@ -59,9 +59,9 @@ checkconfig: ## Validate master.cfg files
./validate_master_cfg.sh

clean: ## Clean venv
if [[ -d $(VENV_DIR) ]]; then
if [ -d $(VENV_DIR) ]; then
rm -rf $(VENV_DIR)
fi
if [[ -d $(VENDOR_DIR) ]]; then
if [ -d $(VENDOR_DIR) ]; then
rm -rf $(VENDOR_DIR)
fi

0 comments on commit 40b16fc

Please sign in to comment.