File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ SHELL := /bin/bash
2+
13install :
24 @if ! command -v python3 > /dev/null 2>&1 ; then \
3- echo " Python 3 is required but it's not installed. Please install Python 3 and try again." >&2 ; \
5+ echo " Python 3 is required but it's not installed. Please install Python 3 (or ensure 'python3' command is available) and try again." >&2 ; \
46 exit 1; \
57 fi
68 @if [ ! -d " venv-jit" ]; then \
79 python3 -m venv venv-jit; \
810 fi
9- source venv-jit/bin/activate && pip install -r requirements.txt
11+ . venv-jit/bin/activate && pip install -r requirements.txt
1012
1113configure :
1214 @read -p " Enter GitHub organization name: " org_name; \
@@ -21,10 +23,10 @@ configure:
2123 echo " TEAM_WILDCARD_TO_EXCLUDE=$$ topics_to_exclude" >> .env
2224
2325create-teams :
24- source venv-jit/bin/activate && \
26+ . venv-jit/bin/activate && \
2527 export PYTHONPATH=$(CURDIR ) && \
26- python src/utils/github_topics_to_json_file.py && \
27- python src/scripts/create_teams.py teams.json
28+ python3 src/utils/github_topics_to_json_file.py && \
29+ python3 src/scripts/create_teams.py teams.json
2830
2931help :
3032 @echo " Usage: make [target]"
You can’t perform that action at this time.
0 commit comments