-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
23 lines (23 loc) · 967 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
check:
black --check .
vulture
pyright
run_frontend:
cd text_highlighter/frontend && npm run start
run_backend:
RELEASE=false streamlit run text_highlighter/__init__.py
build_frontend:
cd text_highlighter/frontend && npm run build
build_backend:
python setup.py sdist bdist_wheel
deploy_test: build_frontend build_backend
python3 -m twine upload --repository testpypi dist/* --skip-existing
python -m pip install --upgrade --index-url https://test.pypi.org/simple/ --no-deps text-highlighter
deploy_prod: build_frontend build_backend
python3 -m twine upload dist/* --skip-existing
python -m pip install --upgrade --no-deps text-highlighter
deploy: build_frontend build_backend
python3 -m twine upload --repository testpypi dist/* --skip-existing
python -m pip install --upgrade --index-url https://test.pypi.org/simple/ --no-deps text-highlighter
python3 -m twine upload dist/* --skip-existing
python -m pip install --upgrade --no-deps text-highlighter