Commit Graph

3101 Commits

Author SHA1 Message Date
Naomi Seyfer
1a2fa29307 Maybe handle null results better? 2013-03-20 13:22:59 -07:00
Naomi Seyfer
4deddb6c24 Whitespace. Testing git hook 2013-03-20 13:22:59 -07:00
Naomi Seyfer
cbf663be81 Test runner handles double finish 2013-03-20 13:22:59 -07:00
Naomi Seyfer
250ab97561 Added a simple shell script to run tests 2013-03-20 13:22:59 -07:00
Naomi Seyfer
bc587d7f4b Teach the phantom driver to know about expected failures 2013-03-20 13:22:59 -07:00
Naomi Seyfer
62884e8cbe Started a package to allow you to run Meteor tests from the command line 2013-03-20 13:22:58 -07:00
David Glasser
2f1ef40f79 Support test-packages --settings. 2013-03-20 12:34:54 -07:00
David Glasser
212e3f2e8c Undocumented test-packages option to specify a different driver.
Will be used by Seismograph.
2013-03-20 12:10:07 -07:00
David Glasser
7eb4dbe7c2 Push 0.6.0-alpha1 2013-03-20 00:44:16 -07:00
David Glasser
3a69e609b9 Merge branch 'engine' into devel.
Major completed changes:

- Packages can depend on npm modules
- Apps can contain packages in a directory called "packages"
- Tests are run with a new "meteor test-packages" subcommand
- All JS files are wrapped in closures (so top-level "var" is now file-local)

Additionally, there has been a major rehaul of the release process and how
installation and "meteor update" works. Apps can be pinned to particular
releases (though this is ignored if you're running Meteor from a git checkout)
and you may can have multiple releases installed in parallel. The bulk of
Meteor's code is installed in your home directory at ~/.meteor/ instead of
globally. Some aspects of this are not yet finalized (and will be before the
next release), but all aspects relating to running Meteor from a checkout should
work.
2013-03-20 00:32:43 -07:00
David Glasser
1b679236cb Delete chaff, such as install.sh 2013-03-20 00:32:00 -07:00
David Glasser
9898e7cff6 change message for meteor update in a checkout 2013-03-20 00:23:32 -07:00
David Glasser
652b9b9209 die if running a "none" app from warehouse without specifying --release 2013-03-20 00:22:39 -07:00
David Glasser
5410903696 message when running a versioned project from a checkout 2013-03-20 00:02:55 -07:00
David Glasser
570b3567f9 meteor-bootstrap.sh -> launch-meteor 2013-03-19 23:49:44 -07:00
David Glasser
dd6bf35b80 changelog -> notices 2013-03-19 23:45:06 -07:00
David Glasser
245c8b5d10 top-level help 2013-03-19 23:42:07 -07:00
David Glasser
487ce383fe update test-packages help 2013-03-19 23:39:18 -07:00
David Glasser
7712b3a077 replace --package-dir with the ability to specify paths to packages.
while I'm at it, fix it so that it actually works if the package's on_test tries
to use() itself (which is common). This previously did not work with
--package-dir
2013-03-19 23:25:21 -07:00
David Glasser
b1b707546d Copy test-runner-app to a temporary directory.
This allows multiple test-packages commands to run in parallel.

We make a best-effort attempt to clean them up on exit.
2013-03-19 22:34:44 -07:00
David Glasser
c08b54492e fix typo 2013-03-19 20:31:50 -07:00
David Glasser
83907a9f5b fix test: stuff is now going to stderr 2013-03-19 20:31:48 -07:00
David Glasser
b7bec5a391 update scripts because --version exits 1 2013-03-19 20:22:01 -07:00
David Glasser
764b4860ea pass context to runner 2013-03-19 19:56:15 -07:00
David Glasser
781eb54a5b calculate an appReleaseVersion 2013-03-19 19:42:08 -07:00
David Glasser
4ebb21c439 fix bug in context.appDir calculation 2013-03-19 19:39:02 -07:00
David Glasser
623ad4ae5f change "release" to "releaseStamp" in bundler options 2013-03-19 19:36:10 -07:00
David Glasser
fd6234525e simplify bundle options in deploy 2013-03-19 19:32:39 -07:00
David Glasser
10c995c549 refactor context, and maybe checkout #1 2013-03-19 19:27:21 -07:00
David Glasser
5c184d0759 bootstrap file 2013-03-19 18:46:26 -07:00
David Glasser
4f763db5b0 dev bundle 0.3.0!
remove unused websocket (if we need it again outside of the streams package
we'll probably be wrapping it in another npm module anyway)

shrink dev bundle version number location to just one place!
2013-03-19 18:20:02 -07:00
David Glasser
0825b3d7a2 don't call a release.json manifest.json ever, that's just confusing. 2013-03-19 18:19:56 -07:00
David Glasser
257f5b8c2d this time with more backslash 2013-03-19 18:19:52 -07:00
David Glasser
5583dc12ed shrink tools version to 10 chars 2013-03-19 18:19:45 -07:00
David Glasser
8a79edb43b "tools" -> "scripts", "engine" -> "tools" 2013-03-19 18:19:31 -07:00
David Glasser
fa0c307c84 app_dir -> appDir 2013-03-19 15:13:56 -07:00
David Glasser
8d1ed09df9 remove XXX logs (but $METEOR_ENGINE_DEBUG works) 2013-03-19 15:13:56 -07:00
David Glasser
a9ea7498b3 Refactor package search logic.
Every bit of code that can search for packages now takes packageSearchOptions,
which can contain appDir and releaseManifest fields.

This generally unifies app packages with "local packages".

We now properly support running tests in app packages, and dependency watching
for app packages is now based on the files declared in package.js, not all files
found in the directory.
2013-03-19 15:13:56 -07:00
David Glasser
0aec831ea4 We should do a hot code push when static assets added by packages change, just
like app static assets.
2013-03-19 15:13:55 -07:00
David Glasser
ada631af08 save original release manifest text rather than (ugly) stringified 2013-03-19 15:13:55 -07:00
David Glasser
6229252bfb simplify parallel package download code and make files.getUrl synchronous 2013-03-19 15:13:55 -07:00
David Glasser
b4d6a4c43e avoid holding gunzipped buffers in RAM 2013-03-19 15:13:55 -07:00
David Glasser
e6837b652c factor out "untar atomically" code 2013-03-19 15:13:55 -07:00
David Glasser
6f692daa10 accurate but non-spammy restarted message 2013-03-19 15:13:55 -07:00
David Glasser
e16c62f504 If you're trying to install and already have it installed, update instead. 2013-03-19 15:13:55 -07:00
David Glasser
fa5b829058 warning about hash -r 2013-03-19 15:13:55 -07:00
David Glasser
37e6cd7ac8 more sudo 2013-03-19 15:13:55 -07:00
David Glasser
66d3b6571f require 2013-03-19 15:13:55 -07:00
David Glasser
d9874785d9 always install into /usr/local/bin/meteor 2013-03-19 15:13:55 -07:00
David Glasser
a136425a67 keep more modules 2013-03-19 15:13:55 -07:00