From 119a65d6b2180c8cbc0f47233ba28480108f5f99 Mon Sep 17 00:00:00 2001 From: Daniel Iordache Date: Wed, 27 Feb 2019 10:48:47 +0200 Subject: [PATCH] update repo names and stop task --- README.md | 1 + Rakefile.rb | 41 ++++++++++++++++++++++++++++++----------- 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 705d7a2..8eeaedd 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ Please follow the rake documentation on how to install the package on your machi |rake needs_commit|-- checks if any of the repos need a commit| |rake install|-- run npm install in all repositories| |rake start|-- run npm run start in all repositories| +|rake stop|-- kill all the ports used by all repositories| ## Testing diff --git a/Rakefile.rb b/Rakefile.rb index 9807668..b9d1034 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -21,20 +21,22 @@ NC = "\033[0m" REPOSITORIES = ["cvs-svc-defects", - "cvs-svc-tech-records", + "cvs-svc-test-stations", + "cvs-svc-technical-records", "cvs-svc-test-types", "cvs-svc-preparers", - "cvs-svc-template", - "cvs-svc-test-stations"] + "cvs-svc-test-results", + "cvs-svc-activities"] SERVICE = ["cvs-svc-defects", "cvs-svc-test-stations", - "cvs-svc-tech-records", + "cvs-svc-technical-records", "cvs-svc-test-types", - "cvs-svc-preparers"] - -GIT = "git@github.com:dvsa" + "cvs-svc-preparers", + "cvs-svc-activities", + "cvs-svc-test-results"] + GIT = "git@github.com:dvsa" ######################################################################################################### # TASKS ######################################################################################################### @@ -231,10 +233,27 @@ ################### task :stop do - kill_port 3000 - kill_port 8000 -end - + kill_port 3000 + kill_port 3001 + kill_port 3002 + kill_port 3003 + kill_port 3004 + kill_port 3005 + kill_port 3006 + kill_port 3007 + kill_port 3008 + kill_port 3009 + kill_port 8000 + kill_port 8001 + kill_port 8002 + kill_port 8003 + kill_port 8004 + kill_port 8005 + kill_port 8006 + kill_port 8007 + kill_port 8008 + kill_port 8009 + end ######################################################################################################### # HELPERS #########################################################################################################