This repository was archived by the owner on Nov 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +31
-11
lines changed Expand file tree Collapse file tree 2 files changed +31
-11
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ Please follow the rake documentation on how to install the package on your machi
4646| rake needs_commit| -- checks if any of the repos need a commit|
4747| rake install| -- run npm install in all repositories|
4848| rake start| -- run npm run start in all repositories|
49+ | rake stop| -- kill all the ports used by all repositories|
4950
5051
5152## Testing
Original file line number Diff line number Diff line change 2121NC = "\033 [0m"
2222
2323REPOSITORIES = [ "cvs-svc-defects" ,
24- "cvs-svc-tech-records" ,
24+ "cvs-svc-test-stations" ,
25+ "cvs-svc-technical-records" ,
2526 "cvs-svc-test-types" ,
2627 "cvs-svc-preparers" ,
27- "cvs-svc-template " ,
28- "cvs-svc-test-stations " ]
28+ "cvs-svc-test-results " ,
29+ "cvs-svc-activities " ]
2930
3031SERVICE = [ "cvs-svc-defects" ,
3132 "cvs-svc-test-stations" ,
32- "cvs-svc-tech -records" ,
33+ "cvs-svc-technical -records" ,
3334 "cvs-svc-test-types" ,
34- "cvs-svc-preparers" ]
35-
36- GIT = "git@github.com:dvsa"
35+ "cvs-svc-preparers" ,
36+ "cvs-svc-activities" ,
37+ "cvs-svc-test-results" ]
3738
39+ GIT = "git@github.com:dvsa"
3840#########################################################################################################
3941# TASKS
4042#########################################################################################################
231233###################
232234
233235task :stop do
234- kill_port 3000
235- kill_port 8000
236- end
237-
236+ kill_port 3000
237+ kill_port 3001
238+ kill_port 3002
239+ kill_port 3003
240+ kill_port 3004
241+ kill_port 3005
242+ kill_port 3006
243+ kill_port 3007
244+ kill_port 3008
245+ kill_port 3009
246+ kill_port 8000
247+ kill_port 8001
248+ kill_port 8002
249+ kill_port 8003
250+ kill_port 8004
251+ kill_port 8005
252+ kill_port 8006
253+ kill_port 8007
254+ kill_port 8008
255+ kill_port 8009
256+ end
238257#########################################################################################################
239258# HELPERS
240259#########################################################################################################
You can’t perform that action at this time.
0 commit comments