-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
28 lines (23 loc) · 836 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# I got tired of commiting this manually
.PHONY: commit_lazy_update
commit_lazy_update:
git add ./config/nvim/lazy-lock.json && git commit -m "chore: update lazy"
# craete virtial env to work with
.venv:
python3 -m venv .venv &> /dev/null
# installs requirements for running installation
.PHONY: install-requirements
install-requirements: .venv
.venv/bin/pip install -r requirements.txt &> /dev/null
# installs dev requirements for running installation
.PHONY: install-dev-requirements
install-dev-requirements: .venv
.venv/bin/pip install -r requirements-dev.txt
# installs dependencies using pyinfra
.PHONY: install
install: install-requirements
.venv/bin/pyinfra inventory.py set_up_mac.py -v
# updates dependencies using pyinfra
.PHONY: update
update: install-requirements
.venv/bin/pyinfra inventory.py update_mac.py -v