Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Merge pull request #50 from darkwing/1044068-template-body-missing

fix bug 1044068 - Prevent 'Cannot call execute of null' errors
latest commit e2c18ac6c4
@groovecoder groovecoder authored
Failed to load latest commit information.
lib/kumascript fix bug 1044068 - Prevent 'Cannot call execute of null' errors
node_modules Revert "Upgrading async with build"
tests fix bug 1044068 - Prevent 'Cannot call execute of null' errors
.gitignore Add missing node_modules.
.travis.yml
README.md Add dependency badges to README
TODO.md fix bug 747166, fix bug 757151: Improved caching
package.json Revert "Upgrading async with build"
run.js

README.md

kumascript

Build Status Dependency Status devDependency Status

Bringing scripting to the wiki bears.

KumaScript overview

Setup

Development

  • To run the service (in kuma vagrant):
    • cd /home/vagrant/src; node kumascript/run.js
  • To run the service (standalone):
    • Directly:
      • node run.js
    • Managed by up:
      • ./node_modules/.bin/up -p 9080 -w run.js
  • To run tests:
    • ./node_modules/.bin/nodeunit tests
  • To check code quality:
    • ./node_modules/.bin/hint lib tests
      • This will make a racket if it hits parser.js
      • TODO: Ignore this file.
  • To generate docs:
    • ./node_modules/.bin/docco lib/kumascript/*.js
  • To generate document macro parser (optional):
    • ./node_modules/.bin/pegjs lib/kumascript/parser.pegjs
      • This is not required in dev, but should be done for production.
      • If parser.js is missing, the parser will be built on the fly.

On OS X, kicker is handy for auto-running tests and lint on file changes:

kicker -e'./node_modules/.bin/jshint lib tests' \
       -e'./node_modules/.bin/nodeunit tests' \
       -e'./node_modules/.bin/docco lib/kumascript/*.js' \
       --no-growl \
       lib tests
Something went wrong with that request. Please try again.