Permalink
Browse files

[ fiddling with include require paths ]

This needs further consideration.  Currently just trying to get travis ci to work.
  • Loading branch information...
1 parent 66b60ed commit de403c2ad201567cff2e3a54d7cfd7ab50c5ae31 Jacob Rothstein committed May 3, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −2 lib/sibilant.js
  2. +1 −2 src/sibilant.sibilant
View
@@ -672,6 +672,5 @@ macros.include = (function(file) {
return sibilant.include(eval(translate(file)));
});
-//(require.paths.unshift (concat **dirname "/../include"))
-sibilant.include((process.env.NODE_PATH + "/sibilant/include/macros"));
+sibilant.include(path.normalize((__dirname + "/../include/macros")));
View
@@ -75,6 +75,5 @@
(defun macros.include (file)
(sibilant.include (eval (translate file))))
-;;(require.paths.unshift (concat **dirname "/../include"))
+(sibilant.include (path.normalize (concat **dirname "/../include/macros")))
-(sibilant.include (concat process.env.NODE*PATH "/sibilant/include/macros"))

0 comments on commit de403c2

Please sign in to comment.