Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

update repo names and stop task #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
41 changes: 30 additions & 11 deletions Rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
#########################################################################################################
Expand Down Expand Up @@ -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
#########################################################################################################
Expand Down