Skip to content

Commit 7b1da16

Browse files
authored
Remove scripts/pre-commit.sh (#2067)
* Update dev.md * Remove scripts/pre-commit.hs
1 parent ab448c0 commit 7b1da16

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

docs/tutorials/dev.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ container and bind mount the local Git repo into the container. In this
2424
container, we run the pre-commit command.
2525

2626
```bash
27-
docker run --rm -it -v $PWD:/work -w /work \
28-
elasticdl:dev /work/scripts/pre-commit.sh
27+
docker run --rm -it -v $PWD:/work -w /work elasticdl:dev
28+
bash -c "make -f elasticdl/Makefile && pre-commit run -a"
2929
```
3030

3131
If you have all required tools installed, you can run the same script on your
3232
host.
3333

3434
```bash
35-
./scripts/pre-commit.sh
35+
make -f elasticdl/Makefile && pre-commit run -a
3636
```

scripts/pre-commit.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)