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 ab448c0 commit 7b1da16Copy full SHA for 7b1da16
docs/tutorials/dev.md
@@ -24,13 +24,13 @@ container and bind mount the local Git repo into the container. In this
24
container, we run the pre-commit command.
25
26
```bash
27
-docker run --rm -it -v $PWD:/work -w /work \
28
- elasticdl:dev /work/scripts/pre-commit.sh
+docker run --rm -it -v $PWD:/work -w /work elasticdl:dev
+ bash -c "make -f elasticdl/Makefile && pre-commit run -a"
29
```
30
31
If you have all required tools installed, you can run the same script on your
32
host.
33
34
35
-./scripts/pre-commit.sh
+make -f elasticdl/Makefile && pre-commit run -a
36
scripts/pre-commit.sh
0 commit comments