grunt-tishadow

This is grunt plugin for TiShadow commands.

grunt-tishadow

The best Grunt plugin ever.

This plugin requires Grunt ~0.4.0

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-tishadow --save-dev

One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-tishadow');

In your project's Gruntfile, add a section named tishadow to the data object passed into grunt.initConfig().

grunt.initConfig({
  tishadow: {
    options: {
      // Task-specific options go here. 
    },
    command: {
      // Target-specific commands go here. 
    },
  },
})

Type: String Default value: null

set the locale in in the TiShadow app.

Type: String Default value: 127.0.0.1

server host name / ip address.

Type: Number Default value: 3000

server port.

Type: String Default value: null

server room.

grunt.initConfig({
  tishadow: {
    options: {},
    server: {},
    run: {},
    spec: {},
    appify: {},
    repl: {},
    clear: {},
  },
})
grunt.initConfig({
  tishadow: {
    options: {
      locale: 'ja',
      host: '192.168.0.111',
      port: 1234,
      room: 'myroom',
    },
    server: {
      long_polling: true,
    },
    run: {
      update: true,
      jshint: true,
      tail_logs: true,
    },
    spec: {
      update: true,
      jshint: true,
      junit_xml: true,
    },
    appify: {
      destination: '../tmp',
    },
    repl: {},
    clear: {},
  },
})
})

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

(Nothing yet)