Skip to content

Commit

Permalink
make - just sets the venv if not set
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 3, 2024
1 parent 178fc75 commit 0c31897
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ ifeq ($(R2PM_BINDIR),)
FATAL ERROR
endif

.PHONY: all all.old venv deps clean deps-global pub lint cilint
.PHONY: install uninstall user-install user-uninstall

all:
. venv/bin/activate ; $(PYTHON) main.py || $(MAKE) deps

all.old:
@test -n "${VIRTUAL_ENV}" || (echo "Run:"; echo ". venv/bin/activate" ; exit 1)
$(PYTHON) main.py || $(MAKE) deps

Expand Down

0 comments on commit 0c31897

Please sign in to comment.