Adds script to lint codebase
Adds coffeelint as dependency
Moves lint.sh into build directory to keep things tidy
Adds central command to run tests
Fixes lint errors in server.coffee
Fixes lint errors in mockserver.coffee
Fixes lint errors in test/serverinfo.coffee
Fixes lint errors in classes/serverlog.coffee
Fixes lint errors in classes/serverinfo.coffee
Updates
> commandstar@0.1.2 test /opt/commandstar
> ./doTests.sh

[0m[0m
[0m  ServerInfo[0m
  [90m  ◦ should use sane defaults: [0m
  [32m  ✓[0m[90m should use sane defaults [0m
  [90m  ◦ should allow option overrides: [0m
  [32m  ✓[0m[90m should allow option overrides [0m
  [90m  ◦ should return an error if it cannot find config file: [0m
  [32m  ✓[0m[90m should return an error if it cannot find config file [0m
  [90m  ◦ should parse the config JSON file: [0m
  [32m  ✓[0m[90m should parse the config JSON file [0m

[0m  ServerLog[0m
  [90m  ◦ requires opts in constructor: [0m
  [32m  ✓[0m[90m requires opts in constructor [0m
  [90m  ◦ requires a log file path: [0m
  [32m  ✓[0m[90m requires a log file path [0m

[0m  ServerLog using MockServer[0m
  [90m  ◦ should emit events on player connect from previous log: [0m
  [32m  ✓[0m[90m should emit events on player connect from previous log [0m
  [90m  ◦ should emit events on player connect from tailing the log: [0m
  [32m  ✓[0m[90m should emit events on player connect from tailing the log [0m
  [90m  ◦ should emit events on player disconnect from previous log: [0m
  [32m  ✓[0m[90m should emit events on player disconnect from previous log [0m
  [90m  ◦ should emit events on player disconnect from the log tail: [0m
  [32m  ✓[0m[90m should emit events on player disconnect from the log tail [0m
  [90m  ◦ should emit events on player chat from previous log: [0m
  [32m  ✓[0m[90m should emit events on player chat from previous log [0m
  [90m  ◦ should emit events on player chat from the log tail: [0m
  [32m  ✓[0m[90m should emit events on player chat from the log tail [0m
  [90m  ◦ should emit events on server start from previous log: [0m
  [32m  ✓[0m[90m should emit events on server start from previous log [0m
  [90m  ◦ should emit events on server start from the log tail: [0m
  [32m  ✓[0m[90m should emit events on server start from the log tail [0m
  [90m  ◦ should emit events on server stop from previous log: [0m
  [32m  ✓[0m[90m should emit events on server stop from previous log [0m
  [90m  ◦ should emit events on server stop from the log tail: [0m
  [32m  ✓[0m[90m should emit events on server stop from the log tail [0m
  [90m  ◦ should emit events on server version from previous log: [0m
  [32m  ✓[0m[90m should emit events on server version from previous log [0m
  [90m  ◦ should emit events on server version from the log tail: [0m
  [32m  ✓[0m[90m should emit events on server version from the log tail [0m

[92m [0m[32m 18 passing[0m[90m (117ms)[0m to use main test script
Adds output to indicate linting is being run