Skip to content

Commit

Permalink
Merge pull request #152 from arayabrain/feature/update-release-commands
Browse files Browse the repository at this point in the history
update release related files
  • Loading branch information
ReiHashimoto authored Nov 14, 2023
2 parents 35ceb65 + 2d0f251 commit ee76e4a
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 286 deletions.
21 changes: 9 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ build_frontend:
.PHONY: docs
docs:
rm -rf docs/_build/
# pip install -e '.[doc]'
poetry install --with doc --no-root
# sphinx-apidoc -f -o ./docs/_build/modules ./studio
sphinx-autobuild -b html docs docs/_build --port 8001

Expand All @@ -42,24 +42,21 @@ dockerhub:

.PHONY: local_build
local_build:
cd frontend
yarn install && yarn build
cd ../
pip install .
cd frontend && yarn install --ignore-scripts && yarn build
poetry build

.PHONY: upload_testpypi
upload_testpypi:
python -m build
twine upload --repository testpypi dist/*
poetry publish -r testpypi

.PHONY: test_pypi
test_pypi:
python3 -m pip install --index-url https://test.pypi.org/simple/ studio
.PHONY: install_testpypi
install_testpypi:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ optinist
pip show optinist

.PHONY: push_pypi
push_pypi:
twine upload --repository pypi dist/*

poetry publish

.PHONY: format
format:
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sphinx==7.1.2
sphinxcontrib-apidoc
sphinx_rtd_theme
sphinx_rtd_theme==1.3.0
sphinx-prompt
sphinx-autodoc-typehints
sphinx-copybutton==0.5.2
Expand Down
Loading

0 comments on commit ee76e4a

Please sign in to comment.