sweet = require('sweet.js');

sweet.loadMacro('./sugar/macros/str');
sweet.loadMacro('./sugar/macros/puts');
sweet.loadMacro('./sugar/macros/unless');
//sweet.loadMacro('./sugar/macros/in');
//sweet.loadMacro('./sugar/macros/prototype'); // -> this two don't work with my hack
sweet.loadMacro('./sugar/macros/nullity');
sweet.loadMacro('./sugar/macros/lambda');

//require('./test.sjs');

@@ -35,32 +35,37 @@
 t.loadMacro(
-'./sugar
+__dirname + '
 /macros/str'
@@ -79,32 +79,37 @@
 t.loadMacro(
-'./sugar
+__dirname + '
 /macros/puts
@@ -124,32 +124,37 @@
 t.loadMacro(
-'./sugar
+__dirname + '
 /macros/unle
@@ -297,32 +297,37 @@
 t.loadMacro(
-'./sugar
+__dirname + '
 /macros/null
@@ -345,32 +345,37 @@
 t.loadMacro(
-'./sugar
+__dirname + '
 /macros/lamb

fix sweet loader