-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from ekiefl/lower-your-cue
Straight in shot example
- Loading branch information
Showing
9 changed files
with
430 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,32 @@ | ||
include .env | ||
# Load environment variables from the `.env` file if it exists. | ||
ifneq (,$(wildcard .env)) | ||
include .env | ||
endif | ||
|
||
.PHONY: docs | ||
docs: | ||
$(MAKE) -C docs/ clean-and-build-html | ||
$(MAKE) -C docs/ view-html | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf dist | ||
|
||
.PHONY: build | ||
build: clean | ||
poetry build | ||
|
||
# Note: `poetry` does not appear to read the `POETRY_PYPI_TOKEN_<NAME>` environment variable, | ||
# so we need to pass it explicitly in the `publish` command. | ||
.PHONY: test-publish | ||
test-publish: | ||
echo ${POETRY_PYPI_TOKEN_PYPI_TEST} | ||
# so we need to pass it explicitly in these publishing commands. | ||
.PHONY: build-and-test-publish | ||
build-and-test-publish: build | ||
poetry publish \ | ||
--repository pypi-test \ | ||
--repository pypi_test \ | ||
--username __token__ \ | ||
--password ${POETRY_PYPI_TOKEN_PYPI_TEST} | ||
|
||
.PHONY: publish | ||
publish: build | ||
.PHONY: build-and-publish | ||
build-and-publish: build | ||
poetry publish \ | ||
--username __token__ \ | ||
--password ${POETRY_PYPI_TOKEN_PYPI} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
```{eval-rst} | ||
.. nbgallery:: | ||
30_degree_rule | ||
straight_shot | ||
``` | ||
|
Oops, something went wrong.