Skip to content

Commit 8a0be1b

Browse files
committed
Move makefile targets.
1 parent 2825dbd commit 8a0be1b

1 file changed

Lines changed: 21 additions & 37 deletions

File tree

Makefile

Lines changed: 21 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -32,32 +32,6 @@ help:
3232
test: ## run test suite
3333
PYTHONPATH=$(SRC):$(TESTS) pipenv run pytest $(TESTS)
3434

35-
##########################################################################
36-
# DOCS
37-
##########################################################################
38-
39-
.PHONY: sphinx-quickstart
40-
sphinx-quickstart: ## run the sphinx quickstart
41-
pipenv run docker run -it --rm -v $(PWD)/docs:/docs sphinxdoc/sphinx sphinx-quickstart
42-
43-
.PHONY: sphinx-html
44-
sphinx-html: ## build the sphinx html
45-
pipenv run make -C docs html
46-
47-
.PHONY: sphinx-rebuild
48-
sphinx-rebuild: ## re-build the sphinx docs
49-
cd $(DOCS) && \
50-
pipenv run make clean && pipenv run make html
51-
52-
.PHONY: sphinx-autobuild
53-
sphinx-autobuild: ## activate autobuild of docs
54-
cd $(DOCS) && \
55-
pipenv run sphinx-autobuild . _build/html --watch $(SRC)
56-
57-
################################################################################
58-
# WORKFLOWS
59-
################################################################################
60-
6135
.PHONY: test-all-versions
6236
test-all-versions: ## Run tests across all supported Python versions with pyenv + pipenv
6337
@for PY in 3.9 3.10 3.11 3.12; do \
@@ -88,17 +62,27 @@ test-version: ## Run tests with a specific Python version via pyenv + pipenv. Us
8862
PYTHONPATH=./src:./tests $$VENV_DIR/bin/pipenv run pytest ./tests/unit || exit 1; \
8963
rm -rf $$VENV_DIR
9064

91-
.PHONY: release-please-pr-dry-run
92-
release-please-pr-dry-run: ## Preview next release version and change log using release-please
93-
release-please release-pr \
94-
--config-file release-please-config.json \
95-
--manifest-file .release-please-manifest.json \
96-
--token=${GITHUB_TOKEN} \
97-
--repo-url=runemalm/codius-cli \
98-
--target-branch=master \
99-
--release-type=python \
100-
--debug \
101-
--dry-run
65+
##########################################################################
66+
# DOCS
67+
##########################################################################
68+
69+
.PHONY: sphinx-quickstart
70+
sphinx-quickstart: ## run the sphinx quickstart
71+
pipenv run docker run -it --rm -v $(PWD)/docs:/docs sphinxdoc/sphinx sphinx-quickstart
72+
73+
.PHONY: sphinx-html
74+
sphinx-html: ## build the sphinx html
75+
pipenv run make -C docs html
76+
77+
.PHONY: sphinx-rebuild
78+
sphinx-rebuild: ## re-build the sphinx docs
79+
cd $(DOCS) && \
80+
pipenv run make clean && pipenv run make html
81+
82+
.PHONY: sphinx-autobuild
83+
sphinx-autobuild: ## activate autobuild of docs
84+
cd $(DOCS) && \
85+
pipenv run sphinx-autobuild . _build/html --watch $(SRC)
10286

10387
################################################################################
10488
# RELEASE (LOCALLY)

0 commit comments

Comments
 (0)