Skip to content

Commit

Permalink
add publishing to the makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Aug 17, 2021
1 parent 56368a9 commit 00d5e0b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif
export PATH := $(abspath ${VENVBIN}):${PATH}


.PHONY: init test build benchmark
.PHONY: init test build benchmark publish

# Default target executed when no arguments are given to make.
default_target: build test
Expand All @@ -19,9 +19,9 @@ help: ## Show this help

################################

all: depend build test ## Get dependencies, build and test
all: depend build test ## Get dependencies, clean, build and test

build: ${VENV} clean ## Build and clean
build: ${VENV} clean ## Clean and build
python setup.py bdist_wheel
ls -lh dist

Expand Down Expand Up @@ -49,3 +49,6 @@ clean: ## Clean build artifacts
rm -rf build/
rm -rf dist/
rm -rf *.egg-info

publish: ## Publish the package built by `make build`
python -m twine upload --verbose dist/objectbox*.whl

0 comments on commit 00d5e0b

Please sign in to comment.