-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (38 loc) · 871 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
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
run:
PYTHONPATH=. python3 b8/app.py
verun: ve copytoml veinstall uncopytoml
./ve/bin/b8
ve:
virtualenv -p python3 --system-site-packages ve
./ve/bin/pip install -I flit
veinstall:
./ve/bin/flit install
clean:
rm -rf build dist b8.egg-info ve __pycache__ b8/__pycache__ b8/*.pyc .pytype/ ve
copytoml:
cp dev/pyproject.toml .
git add pyproject.toml
uncopytoml:
git rm -f pyproject.toml
sdist:
flit build
upload:
flit publish
installocal:
flit install
install: clean copytoml installocal uncopytoml
make clean
echo done
release: clean copytoml upload uncopytoml
make clean
echo done
wwwreadme:
tail -n+4 dev/www/src/index.md > README.md
wwwclean:
rm -rf dev/www/public
wwwbuild:
eleventy --config dev/www/eleventyconfig.js
wwwdeploy: wwwbuild
cd dev/www && firebase deploy
wwwserve:
eleventy --config dev/www/eleventyconfig.js --serve