Permalink
Browse files

Switch to submodule for narcissus

This should hopefully make things easier for others..
  • Loading branch information...
1 parent bacc3bc commit 8a69a5816a6af614d6725178ef578de308049d65 Ryan Patterson committed Jan 23, 2012
Showing with 10 additions and 10 deletions.
  1. +3 −0 .gitmodules
  2. +1 −1 bin/jsgrep-cli.js
  3. +1 −1 bin/jspatch-cli.js
  4. +1 −1 lib/jsgrep.js
  5. +1 −0 narcissus
  6. +1 −5 package.json
  7. +1 −1 specs/jsgrep.spec.js
  8. +1 −1 specs/matcher.spec.js
View
@@ -0,0 +1,3 @@
+[submodule "narcissus"]
+ path = narcissus
+ url = https://github.com/CGamesPlay/narcissus.git
View
@@ -14,7 +14,7 @@
// License for the specific language governing permissions and limitations
// under the License.var fs = require('fs');
-var Narcissus = require('narcissus');
+var Narcissus = require('../narcissus');
var _ = require('underscore');
var fs = require('fs');
var path = require('path');
View
@@ -14,7 +14,7 @@
// License for the specific language governing permissions and limitations
// under the License.var fs = require('fs');
-var Narcissus = require('narcissus');
+var Narcissus = require('../narcissus');
var _ = require('underscore');
var child_process = require('child_process');
var fs = require('fs');
View
@@ -14,7 +14,7 @@
var fs = require('fs');
var _ = require('underscore');
-var Narcissus = require('narcissus');
+var Narcissus = require('../narcissus');
var PATTERN_CACHE = { };
Submodule narcissus added at b92724
View
@@ -21,9 +21,5 @@
"dependencies": {
"posix-getopt": "0",
"underscore": "1"
- },
-
- "bundledDependencies": [
- "narcissus"
- ]
+ }
}
@@ -1,4 +1,4 @@
-var Narcissus = require('narcissus/main');
+var Narcissus = require('../narcissus');
var _ = require('underscore');
var jsgrep = require('../lib/jsgrep.js');
var path = require('path');
@@ -1,4 +1,4 @@
-var Narcissus = require('narcissus/main');
+var Narcissus = require('../narcissus');
var _ = require('underscore');
var jsgrep = require('../lib/jsgrep.js');
var path = require('path');

0 comments on commit 8a69a58

Please sign in to comment.