Permalink
Browse files

futures support in spoon + some spoon unit tests pass

  • Loading branch information...
bjouhier committed Oct 4, 2012
1 parent a623611 commit abf6982990520b97bb643f2e30f3349d152ad944
View
@@ -10,6 +10,10 @@ rm builtins.js
cat builtins.js | sed -e "s/\/\/\/ \!doc//" > ../generators/builtins.js
rm builtins.js
+../../bin/_node -lp -v -f --spoon -c builtins._js
+cat builtins.js | sed -e "s/\/\/\/ \!doc//" > ../spoon/builtins.js
+rm builtins.js
+
../../bin/_node -lp -v -f -c compile._js
../../bin/_node -lp -v -f -c ../streams/client/streams._js
@@ -19,5 +23,6 @@ pushd ../../test/common > /dev/null
mv eval-test.js flows-test.js stack-test.js futures-test.js callbacks
../../bin/_node --generators -v -f -c .
mv eval-test.js flows-test.js stack-test.js futures-test.js generators
+../../bin/_node --spoon -v -f -c spoon
popd > /dev/null
popd > /dev/null
@@ -3,7 +3,7 @@ var path = require("path");
var fs = require("fs");
function run(options) {
- var transformer = "streamline/lib/" + (options.generators ? "generators" : options.fibers ? "fibers" : "callbacks") + "/transform";
+ var transformer = "streamline/lib/" + (options.generators ? "generators" : options.fibers ? "fibers" : options.spoon ? "spoon" : "callbacks") + "/transform";
var streamline = require(transformer).transform;
function clone(obj) {
Oops, something went wrong.

0 comments on commit abf6982

Please sign in to comment.