-
Notifications
You must be signed in to change notification settings - Fork 37
/
Makefile
21 lines (15 loc) · 974 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test:
export PYTHONWARNINGS=ignore::flask.DeprecationWarning; pytest
update_dist:
@python3 setup.py sdist bdist_wheel
upload_pypi:
@twine upload dist/*
# helper command for the maintainer to refresh the docs files
refresh_transcrypt_docs:
cd docs/examples/transcrypt; for x in `ls -d */`; do SKETCHBOOK_DIR="/home/bernardo/envs/pyp5js/docs/examples/transcrypt/" pyp5js compile $$x --refresh --template "/home/bernardo/envs/pyp5js/docs/examples/transcrypt/index.html.template"; done;
refresh_pyodide_docs:
cd docs/examples/pyodide; for x in `ls -d */`; do SKETCHBOOK_DIR="/home/bernardo/envs/pyp5js/docs/examples/pyodide" pyp5js compile $$x --refresh --template "/home/bernardo/envs/pyp5js/docs/examples/pyodide/index.html.template"; done;
refresh_demo:
SKETCHBOOK_DIR="/home/bernardo/envs/pyp5js/docs/" pyp5js compile pyodide --refresh --template "/home/bernardo/envs/pyp5js/docs/pyodide/index.html.template";
run_demo:
cd docs/pyodide && python -m http.server