MXS-1300: Un-modularize the core

Making the core a module proved to bring more problems than it solved. For
the sake of simplicity in installation and code coverage reporting, the
core is now completely contained in the `lib/` directory.

Also added preliminary coverage reporting with nyc.
This commit is contained in:
Markus Mäkelä
2017-07-19 08:03:44 +03:00
parent 0f1a427458
commit cf8028a5ce
25 changed files with 77 additions and 86 deletions

View File

@ -13,7 +13,7 @@
'use strict';
var maxctrl = require('maxctrl-core')
var maxctrl = require('./lib/core.js')
// Mangle the arguments if we are being called from the command line
if (process.argv[0] == process.execPath) {