Skip to content

Commit

Permalink
#158 Reorganize
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Aug 2, 2024
1 parent 4424c6b commit 954b413
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,35 @@ build-scratch:
.PHONY: docker-build
docker-build: docker-build-osarch-specific

# -----------------------------------------------------------------------------
# Run
# -----------------------------------------------------------------------------

.PHONY: docker-run
docker-run:
@docker run \
--interactive \
--rm \
--tty \
--name $(DOCKER_CONTAINER_NAME) \
$(DOCKER_IMAGE_NAME)


.PHONY: run
run: run-osarch-specific

# -----------------------------------------------------------------------------
# Test
# -----------------------------------------------------------------------------

.PHONY: test
test: test-osarch-specific


.PHONY: docker-test
docker-test:
@docker-compose -f docker-compose.test.yml up

# -----------------------------------------------------------------------------
# Coverage
# -----------------------------------------------------------------------------
Expand All @@ -154,23 +176,6 @@ check-coverage:
@go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
@${GOBIN}/go-test-coverage --config=.github/coverage/.testcoverage.yaml

# -----------------------------------------------------------------------------
# Run
# -----------------------------------------------------------------------------

.PHONY: docker-run
docker-run:
@docker run \
--interactive \
--rm \
--tty \
--name $(DOCKER_CONTAINER_NAME) \
$(DOCKER_IMAGE_NAME)


.PHONY: run
run: run-osarch-specific

# -----------------------------------------------------------------------------
# Documentation
# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 954b413

Please sign in to comment.