You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2024. It is now read-only.
#init: Initialize the repository with things like git commit hooks
init:
git --version
@echo "Please make sure your git version is greater than 2.9.0. If it's not, this command will fail."
git config --local core.hooksPath .githooks/
clean:
${PYTHON} -m pip uninstall -y tycho-api
${PYTHON} -m pip uninstall -y -r requirements.txt
install:
${PYTHON} -m pip install --upgrade pip
${PYTHON} -m pip install --upgrade wheel
${PYTHON} -m pip install --upgrade setuptools
${PYTHON} -m pip install -r requirements.txt
${PYTHON} -m pip install .
#test: Run all tests
test:
# ${PYTHON} -m flake8 src
${PYTHON} -m pytest tests
package.build: ${PYTHON} -m build
package.release:
${PYTHON} -m twine upload dist/*
rm -rf dist
build:
@if [ -z "$(VER)" ]; then echo "Please provide a value for the VER variable like this:"; echo "make VER=4 <target>"; false; fi;
docker build -t ${DOCKER_IMAGE} -f Dockerfile .
publish: build
@if [ -z "$(VER)" ]; then echo "Please provide a value for the VER variable like this:"; echo "make VER=4 <target>"; echo "Here are the images you have already built that can be published:" ; docker images | grep "IMAGE ID"; docker images | grep "${DOCKER_OWNER}/${DOCKER_APP}"; false; fi;
docker tag ${DOCKER_IMAGE} ${DOCKER_REPO}/${DOCKER_IMAGE}