{
  "script": [
    "for directory in /projects/* ; do",
    "  if [ -d \"$directory/.cloud9/runners\" ]; then",
    "    REPOSITORY_DIR=$directory",
    "  fi",
    "done",
    "cd $REPOSITORY_DIR",
    "for directory in \"$REPOSITORY_DIR\"/* ; do",
    "  if [ -d \"$directory/hello-world/tests\" ]; then",
    "    TESTS_DIR=$directory",
    "  fi",
    "done",
    "echo $TESTS_DIR",
    "cd $TESTS_DIR/hello-world",
    "npm install",
    "npm run test"
  ],
  "info": "This runner installs the dependencies, and executes the tests inside the hello-world directory."
}