Closed chalkers closed 8 years ago
Have you tried just running build.sh
? That runs a few other things first, and also kicks off the module minification, which might be what you want?
IIRC you also need Espruino
checked out at the same level as EspruinoDocs
Ahh I missed out the checking out of Espruino
step.
Doing ./build.sh
results in this...
Compilation failed - function wrapper not found. Got: "Error(22): T" "ater.\n"
Error(22): Too many compiles performed recently. Try again later.
Sending to Google Closure Compiler...
Minification complete!
Error(22): Too many compiles performed recently. Try again later.
devices/MPL115A2.js compile FAILED../
However node bin/build.js
works now. The express app works now too.
Ok, great! Just run build.sh
again tomorrow and it should be fine hopefully :) I use the online closure compiler service because it's easier, but it is rate limited.
After you've done it initially you won't ever hit it again, because it will only compile the modules that have changed.
I can't actually remember where the minified modules end up - you might actually need a directory espruinowebsite/www/modules
as well...
Closing this as seems to be sorted?
With this version of node.js - v4.1.1
With these page dependancies:
Running the build I get the following output: