Loading project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.5.0" (defproject python/lein-template "1.5.1" :description "lein template for a python project" :url "https://blog.emacsos.com/python-project-template" :license {:name "Eclipse Public License" Loading src/leiningen/new/python/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ PYTHON := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/python PIP := $(VENV)/bin/pip DEFAULT_PYTHON := $(shell ./utils/choose_default_python.sh) VIRTUALENV := $(shell ls ./utils/virtualenv-*/virtualenv.py) VIRTUALENV := $(wildcard ./utils/virtualenv-*/virtualenv.py) REQUIREMENTS := -r requirements.txt DEV_REQUIREMENTS := -r requirements-dev.txt Loading Loading @@ -83,7 +83,7 @@ just-test: # image and push image on host. ci-build: docker login -u $(DOCKER_USER) -p $(DOCKER_PASSWORD) $(BUILD_DOCKER_IMAGE) docker run --rm --name {{ name }}-test -v "$(CURDIR)":/app -u $(shell id -u go):$(shell id -g go) $(BUILD_DOCKER_IMAGE) make test deb -C /app docker run --rm --name {{ name }}-test -v "$(CURDIR)":/app -u $(shell id -u):$(shell id -g) $(BUILD_DOCKER_IMAGE) make test deb -C /app docker build -t $(DOCKER_IMAGE_PREFIX)/{{ name }}:$(VERSION) . docker push $(DOCKER_IMAGE_PREFIX)/{{ name }}:$(VERSION) deploy: Loading Loading
project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "1.5.0" (defproject python/lein-template "1.5.1" :description "lein template for a python project" :url "https://blog.emacsos.com/python-project-template" :license {:name "Eclipse Public License" Loading
src/leiningen/new/python/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ PYTHON := env PYTHONPATH=$(PYTHONPATH) $(VENV)/bin/python PIP := $(VENV)/bin/pip DEFAULT_PYTHON := $(shell ./utils/choose_default_python.sh) VIRTUALENV := $(shell ls ./utils/virtualenv-*/virtualenv.py) VIRTUALENV := $(wildcard ./utils/virtualenv-*/virtualenv.py) REQUIREMENTS := -r requirements.txt DEV_REQUIREMENTS := -r requirements-dev.txt Loading Loading @@ -83,7 +83,7 @@ just-test: # image and push image on host. ci-build: docker login -u $(DOCKER_USER) -p $(DOCKER_PASSWORD) $(BUILD_DOCKER_IMAGE) docker run --rm --name {{ name }}-test -v "$(CURDIR)":/app -u $(shell id -u go):$(shell id -g go) $(BUILD_DOCKER_IMAGE) make test deb -C /app docker run --rm --name {{ name }}-test -v "$(CURDIR)":/app -u $(shell id -u):$(shell id -g) $(BUILD_DOCKER_IMAGE) make test deb -C /app docker build -t $(DOCKER_IMAGE_PREFIX)/{{ name }}:$(VERSION) . docker push $(DOCKER_IMAGE_PREFIX)/{{ name }}:$(VERSION) deploy: Loading