Initial check-in
This commit is contained in:
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
SHELL := /usr/bin/env bash
|
||||
PIP := /usr/bin/env pip
|
||||
PYTHON := /usr/bin/env python
|
||||
|
||||
.PHONY: bootstrap clean
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
all: .requirements_satisfied
|
||||
@$(PYTHON) generate.py
|
||||
|
||||
bootstrap:
|
||||
@$(PIP) install --user -r requirements.txt
|
||||
|
||||
.requirements_satisfied:
|
||||
$(MAKE) bootstrap
|
||||
@touch $@
|
||||
|
||||
clean:
|
||||
@find . -type f -name '*.pyc' -delete
|
||||
@find . -type f -name '*~' -delete
|
||||
@find . -type f -name '*.bak' -delete
|
||||
@find . -type f -name '.requirements_satisfied' -delete
|
Reference in New Issue
Block a user