We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0702889 commit c399783Copy full SHA for c399783
mithril-relay/Makefile
@@ -0,0 +1,32 @@
1
+.PHONY: all build test check debug run help doc
2
+
3
+CARGO = cargo
4
5
+all: test build
6
7
+build:
8
+ ${CARGO} build --release
9
+ cp ../target/release/mithril-relay .
10
11
+test:
12
+ ${CARGO} test
13
14
+check:
15
+ ${CARGO} check --release --all-features --all-targets
16
+ ${CARGO} clippy --release --all-features --all-targets
17
+ ${CARGO} fmt --check
18
19
+help:
20
+ @${CARGO} run -- -h
21
22
+doc:
23
+ ${CARGO} doc --no-deps --open
24
25
+docker-build:
26
+ cd ../ && docker build -t mithril/mithril-relay -f mithril-relay/Dockerfile .
27
28
+docker-build-ci: build
29
+ cd ../ && docker build -t mithril/mithril-relay -f mithril-relay/Dockerfile.ci --build-arg DOCKER_IMAGE_FROM .
30
31
+docker-run:
32
+ docker run --rm --name='mithril-relay' mithril/mithril-relay
0 commit comments