Move under scripts dir, stop using pip
This commit is contained in:
parent
0cf7426104
commit
5b1f4828bd
13
Makefile
13
Makefile
|
@ -1,7 +1,12 @@
|
|||
default: install
|
||||
.PHONY: install
|
||||
|
||||
.PHONY: install clone list-services
|
||||
|
||||
install:
|
||||
@python3 -m venv .venv && \
|
||||
.venv/bin/pip install -U pip setuptools wheel && \
|
||||
.venv/bin/pip install -r requirements.txt;
|
||||
@apt install -y python3-requests
|
||||
|
||||
clone:
|
||||
@python3 scripts/clone.py
|
||||
|
||||
list-services:
|
||||
@bash scripts/services.sh
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for f in clones/*/compose.yml;
|
||||
do echo "${f}" && \
|
||||
yq read --printMode p "$f" 'services.*' && \
|
||||
echo;
|
||||
done
|
|
@ -1 +0,0 @@
|
|||
requests
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
ABRA_DIR="$HOME/.abra/apps"
|
||||
|
||||
for f in "$(find $ABRA_DIR -iname "compose*.yml")"; do
|
||||
echo "$f" && yq read --printMode p "$f" 'services.*' && echo;
|
||||
done
|
Reference in New Issue