Update Makefile
This commit is contained in:
9
Makefile
9
Makefile
@@ -3,11 +3,18 @@ requirements = requirements.txt
|
||||
activate = source $(venv)/bin/activate
|
||||
pip = pip
|
||||
ansible = venv/bin/ansible-playbook
|
||||
dotbot = _dotbot/bin/dotbot
|
||||
|
||||
.PHONY: all
|
||||
install: $(ansible)
|
||||
install: $(ansible) submodules
|
||||
$(activate) && ansible-playbook --diff --verbose ./playbook.yml
|
||||
|
||||
.PHONY: submodules
|
||||
submodules: $(dotbot)
|
||||
|
||||
$(dotbot):
|
||||
git submodule update --init _dotbot
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -r venv
|
||||
|
||||
Reference in New Issue
Block a user