Commit Graph

15 Commits

Author SHA1 Message Date
David Glasser
2e5652b104 Cache dev bundles in /tmp. 2013-05-13 11:56:51 -07:00
Geoff Schmidt
b3a5c26847 bare programs receive argv correctly. also, boot
scripts receive their load lists via a command
line argument (as had been originally intended
but not implemented) rather than by a hardcoded
reference to 'package.json'.
2013-05-13 11:56:51 -07:00
Geoff Schmidt
f73714cadc programs in an app have an attributes file (this
is temporary and subject to change!) which can be
used to mark them as "regular old programs" (no
http server or mongo setup) and/or to mark them
as a star's control program
2013-05-13 11:56:51 -07:00
Geoff Schmidt
ff09e101ee If we're using an arch-specific, auto-downloaded dev_bundles kit, get rid of the bundled node_modules 2013-05-13 11:54:20 -07:00
Geoff Schmidt
0f3ab1af6b Change format identifiers to look like prereleases 2013-05-13 11:54:20 -07:00
Geoff Schmidt
607e637b22 Generate dev_bundle trampoline scripts in star balls. Nothing uses them yet. 2013-05-13 11:53:51 -07:00
Geoff Schmidt
3abacc44f1 move server config info out of program.json into a separate config.json 2013-05-13 11:53:51 -07:00
Geoff Schmidt
5ec1d9997c rentame 'version' to 'format' in control files 2013-05-13 11:53:50 -07:00
Geoff Schmidt
78212bff0e Eliminate dead code 2013-05-13 11:51:53 -07:00
Geoff Schmidt
e26732d3dd Factor out bundle file-handling logic into new Builder class 2013-05-13 11:51:52 -07:00
Geoff Schmidt
cb064eca31 Rewrite bundler and redesign bundle format to support multiple targets. When doing Npm.require on the server, don't infer the node_modules path from the path to the file; read that information out of bundle metadata. 2013-05-13 11:51:52 -07:00
David Glasser
ede68cd027 bundle NPM modules correctly.
tests mostly pass.
2013-05-13 11:51:51 -07:00
Andrew Wilcox
6873c91424 Allow CoffeeScript to set global vars when using "use strict".
Ha.  Turns out that `.call(this)` is needed after all when a
CoffeeScript file is using "use strict".
(http://es5.github.io/#x15.3.4.4)

Thanks to pipedreambomb on stackoverflow for the bug report and to
user1737909 for the documentation reference.
2013-04-15 10:52:01 -07:00
Nick Martin
f146c7383c Workaround issue with new node and old connect. Fixes #852
New node (0.8.21+) throws an error when path.join is passed null. Connect 1.9.2's static.send (used by gzippo) does this if you don't pass a 'root' option. Passing root: '/' works around this, but we should consider fixing the underlying issue, possibly by upgrading connect.
2013-03-25 15:22:15 -07:00
David Glasser
8a79edb43b "tools" -> "scripts", "engine" -> "tools" 2013-03-19 18:19:31 -07:00