Method: Nib::CodeClimate#script

Defined in:
lib/nib/code_climate.rb

#scriptObject



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/nib/code_climate.rb', line 11

def script
  @script ||= "    docker run \\\n      --interactive \\\n      --tty \\\n      --rm \\\n      --env CODECLIMATE_CODE=\"$PWD\" \\\n      --volume \"$PWD\":/code \\\n      --volume /var/run/docker.sock:/var/run/docker.sock \\\n      --volume /tmp/cc:/tmp/cc \\\n      codeclimate/codeclimate \#{command || 'help'}\n  SCRIPT\nend\n"