mirror of
https://github.com/FlipsideCrypto/sdk.git
synced 2026-02-06 10:46:43 +00:00
Update makefile
This commit is contained in:
parent
60c105ae9d
commit
6bf1e59b81
@ -1,11 +1,9 @@
|
||||
VER := $(shell head -n 1 VERSION)
|
||||
NEXT_VER := $(shell ../bin/semver bump minor $(VER))
|
||||
|
||||
.PHONY: all
|
||||
|
||||
all: clean local_env build_wheel push_wheel
|
||||
|
||||
clean: clean-build clean-pyc clean-test
|
||||
deploy: clean build test upload
|
||||
|
||||
clean-build:
|
||||
rm -fr build/
|
||||
@ -25,32 +23,11 @@ clean-test:
|
||||
rm -f .coverage
|
||||
rm -fr htmlcov/
|
||||
|
||||
build_wheel: clean
|
||||
echo "Building $(NEXT_VER)"
|
||||
$(file >VERSION,$(NEXT_VER))
|
||||
python setup.py bdist_wheel --universal
|
||||
test:
|
||||
pytest
|
||||
|
||||
# push_wheel: build_wheel
|
||||
# echo "building wheel"
|
||||
|
||||
# build_build_env:
|
||||
# docker build -f Dockerfile.build -t engine-build:latest .
|
||||
|
||||
# deploy_inside_docker:
|
||||
# make build_wheel;
|
||||
# make upload_wheel_to_nexus;
|
||||
|
||||
# deploy:
|
||||
# make build_build_env
|
||||
# docker run engine-build:latest make deploy_inside_docker
|
||||
|
||||
build_docker:
|
||||
docker-compose build shell
|
||||
|
||||
shell:
|
||||
docker-compose run shell bash
|
||||
|
||||
deploy:
|
||||
make clean
|
||||
build:
|
||||
python setup.py sdist
|
||||
|
||||
upload:
|
||||
twine upload dist/* --verbose
|
||||
Loading…
Reference in New Issue
Block a user