r93082 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93081‎ | r93082 | r93083 >
Date:18:29, 25 July 2011
Author:hashar
Status:ok
Tags:
Comment:
Removing local node.js modules

Added a note about setting them up globally.
Modified paths:
  • /branches/hashar/node-qunit/tests/qunit/README (modified) (history)
  • /branches/hashar/node-qunit/tests/qunit/node_modules (deleted) (history)

Diff [purge]

Index: branches/hashar/node-qunit/tests/qunit/README
@@ -2,13 +2,20 @@
33 See a basic guide about installing it at:
44 http://www.mediawiki.org/wiki/User:Hashar/cli-js
55
6 -You will also need the following modules:
 6+The following node.js modules are also required and should be installed globally
 7+with npm (Node Package Manager):
78 - jquery
89 - jsdom
910 - qunit
10 -To be installed with npm (Node Package Manger)
1111
 12+To install them globally:
 13+ sudo npm -g install jquery jsdom qunit
1214
 15+Make sure you have a NODE_PATH environnement variable or set it up with
 16+the correct path. For example:
 17+ export NODE_PATH="/opt/local/lib/node_modules"
 18+
 19+
1320 To test your setup you can use the dumb suite:
1421
1522 $ cd tests/qunit
@@ -34,4 +41,4 @@
3542
3643 Works! :)
3744
38 -Now try out the MediaWiki test suite: make test
 45+Now try out the MediaWiki test suite: make test

Status & tagging log