-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
65 lines (45 loc) · 1.24 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# current git branch
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
js-init:
npm install
python-init::
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
init:: python-init js-init
bundle install
serve::
bundle exec jekyll serve
build::
bundle exec jekyll build --watch
generate::
bundle exec jekyll build
black:
black .
black-check:
black --check .
flake8:
flake8 .
isort:
isort --profile black .
lint: black-check flake8
build-css:
npm run build:css
fetch-backlog-data:
python _bin/fetch_backlog.py
pages:
python _bin/generate_roadmap.py
stage-count:
python3 _bin/planningconsiderations.py
diagram:
python3 _bin/stages-svg.py
status:
git status --ignored
commit-roadmap::
git add what-we-are-working-on
git diff --quiet && git diff --staged --quiet || (git commit -m "Rebuilt roadmap $(shell date +%F)"; git push origin $(BRANCH))
commit-data::
git add _data
git diff --quiet && git diff --staged --quiet || (git commit -m "Fetched latest backlog data $(shell date +%F)"; git push origin $(BRANCH))
commit-diagram::
git add assets/images/stage-counts
git diff --quiet && git diff --staged --quiet || (git commit -m "Added latest stage count diagram $(shell date +%F)"; git push origin $(BRANCH))