mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Tell user we are setting up new virtual env
This commit is contained in:
1
Makefile
1
Makefile
@@ -6,6 +6,7 @@ COMMIT_HASH=$(shell git rev-parse --short HEAD)
|
||||
|
||||
check:
|
||||
ifeq ("$(wildcard ./venv-${COMMIT_HASH})","")
|
||||
@echo "Setting up new virtual environment"
|
||||
@rm -rf venv-*
|
||||
@${PYTHON} -m pip install -U virtualenv >/dev/null 2>&1 || { echo "Failed to install/upgrade virtualenv package"; exit 1; }
|
||||
@${PYTHON} -m venv venv-${COMMIT_HASH} || { echo "Failed to create virutal environment"; exit 1; }
|
||||
|
||||
Reference in New Issue
Block a user