File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
website/docs/contributing Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "generators/**/*.java": "docker exec -t dev yarn cli format java generators",
2
+ "generators/**/*.java": "docker exec -t api-client yarn cli format java generators",
3
3
".github/**/*.yml": "yarn github-actions:lint --fix",
4
4
"*.json": "yarn fix:json",
5
5
"scripts/**/*.(js|ts)": "yarn scripts:lint --fix"
Original file line number Diff line number Diff line change 12
12
"build:eslint" : " yarn workspace eslint-plugin-automation-custom build && yarn install" ,
13
13
"clean" : " rm -rf **/dist **/build **/node_modules **/.gradle **/vendor || true" ,
14
14
"cli" : " yarn workspace scripts ts-node --transpile-only ./cli/index.ts" ,
15
- "docker" : " docker exec -it dev yarn cli $*" ,
15
+ "docker" : " docker exec -it api-client yarn cli $*" ,
16
16
"docker:build" : " ./scripts/docker/build.sh" ,
17
- "docker:clean" : " docker stop dev ; docker rm -f dev ; docker image rm -f api-clients-automation" ,
17
+ "docker:clean" : " docker stop api-client ; docker rm -f api-client ; docker image rm -f api-clients-automation" ,
18
18
"docker:mount" : " ./scripts/docker/mount.sh" ,
19
19
"docker:setup" : " yarn docker:clean && yarn docker:build && yarn docker:mount" ,
20
20
"fix:json" : " eslint --ext=json . --fix" ,
Original file line number Diff line number Diff line change 2
2
3
3
ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd) /../.."
4
4
5
- docker run -d -it --name dev --mount type=bind,source=$ROOT /,target=/app api-clients-automation
5
+ docker run -d -it --name api-client --mount type=bind,source=$ROOT /,target=/app api-clients-automation
Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ yarn docker:build
36
36
37
37
#### Mount
38
38
39
- > Mount docker image on ` dev ` container
39
+ > Mount docker image on ` api-client ` container
40
40
41
41
``` bash
42
42
yarn docker:mount
43
43
```
44
44
45
45
#### Clean
46
46
47
- > Stops ` dev ` container and clean the built image
47
+ > Stops ` api-client ` container and clean the built image
48
48
49
49
``` bash
50
50
yarn docker:clean
You can’t perform that action at this time.
0 commit comments