mirror of https://github.com/embarklabs/embark.git
Alter require to support `npm link`
This commit is contained in:
parent
6b3cce3cbf
commit
c30e63832b
|
@ -6,7 +6,7 @@ var wrench = require('wrench');
|
||||||
var grunt = require('grunt');
|
var grunt = require('grunt');
|
||||||
require('shelljs/global');
|
require('shelljs/global');
|
||||||
var readYaml = require('read-yaml');
|
var readYaml = require('read-yaml');
|
||||||
var Embark = require('embark-framework');
|
var Embark = require('..');
|
||||||
|
|
||||||
var run = function(cmd) {
|
var run = function(cmd) {
|
||||||
if (exec(cmd).code != 0) {
|
if (exec(cmd).code != 0) {
|
||||||
|
@ -169,4 +169,3 @@ if (!process.argv.slice(2).length) {
|
||||||
}
|
}
|
||||||
|
|
||||||
exit();
|
exit();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue