-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 680 Bytes
/
Makefile
File metadata and controls
41 lines (31 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SHELL = /bin/bash
.PHONY: lint
lint:
go vet ./...
.PHONY: test
test:
go test -race ./...
.PHONY: integration-test
integration-test: deps
go test -tags=integration ./...
.PHONY: coverage
coverage:
go test -race -coverprofile=coverage.txt -covermode=atomic ./...
.PHONY: build
build:
go build -o messagen.bin
.PHONY: cross-build-snapshot
cross-build:
goreleaser --rm-dist --snapshot
.PHONY: install
install:
go install
.PHONY: release
rellease:
goreleaser release
.PHONY: build-image
build-image:
docker build -t mpppk/messagen .
.PHONY: run-image-with-pokemon
run-image-with-pokemon:
docker run -v ./examples/iroha/pokemon.yaml:/messagen.yaml -it mpppk/messagen