Skip to content
This repository
Browse code

Switch to submodule for narcissus

This should hopefully make things easier for others..
  • Loading branch information...
commit 8a69a5816a6af614d6725178ef578de308049d65 1 parent bacc3bc
authored January 23, 2012
3  .gitmodules
... ...
@@ -0,0 +1,3 @@
  1
+[submodule "narcissus"]
  2
+	path = narcissus
  3
+	url = https://github.com/CGamesPlay/narcissus.git
2  bin/jsgrep-cli.js
@@ -14,7 +14,7 @@
14 14
 // License for the specific language governing permissions and limitations
15 15
 // under the License.var fs = require('fs');
16 16
 
17  
-var Narcissus = require('narcissus');
  17
+var Narcissus = require('../narcissus');
18 18
 var _ = require('underscore');
19 19
 var fs = require('fs');
20 20
 var path = require('path');
2  bin/jspatch-cli.js
@@ -14,7 +14,7 @@
14 14
 // License for the specific language governing permissions and limitations
15 15
 // under the License.var fs = require('fs');
16 16
 
17  
-var Narcissus = require('narcissus');
  17
+var Narcissus = require('../narcissus');
18 18
 var _ = require('underscore');
19 19
 var child_process = require('child_process');
20 20
 var fs = require('fs');
2  lib/jsgrep.js
@@ -14,7 +14,7 @@
14 14
 
15 15
 var fs = require('fs');
16 16
 var _ = require('underscore');
17  
-var Narcissus = require('narcissus');
  17
+var Narcissus = require('../narcissus');
18 18
 
19 19
 var PATTERN_CACHE = { };
20 20
 
1  narcissus
... ...
@@ -0,0 +1 @@
  1
+Subproject commit b92724b570987430236e8b377bc7c645aebb96f7
6  package.json
@@ -21,9 +21,5 @@
21 21
   "dependencies": {
22 22
     "posix-getopt": "0",
23 23
     "underscore": "1"
24  
-  },
25  
-
26  
-  "bundledDependencies": [
27  
-    "narcissus"
28  
-  ]
  24
+  }
29 25
 }
2  specs/jsgrep.spec.js
... ...
@@ -1,4 +1,4 @@
1  
-var Narcissus = require('narcissus/main');
  1
+var Narcissus = require('../narcissus');
2 2
 var _ = require('underscore');
3 3
 var jsgrep = require('../lib/jsgrep.js');
4 4
 var path = require('path');
2  specs/matcher.spec.js
... ...
@@ -1,4 +1,4 @@
1  
-var Narcissus = require('narcissus/main');
  1
+var Narcissus = require('../narcissus');
2 2
 var _ = require('underscore');
3 3
 var jsgrep = require('../lib/jsgrep.js');
4 4
 var path = require('path');

0 notes on commit 8a69a58

Please sign in to comment.
Something went wrong with that request. Please try again.