Commit Graph

168 Commits

Author SHA1 Message Date
Ben Newman
5aee7a9a09 Use an appropriate module object in meteor shell. 2016-05-19 17:04:08 -04:00
Ben Newman
93d8281f48 Implement Console.setHeadless instead of Console.{enable,disable}Spinner. 2016-05-17 19:53:12 -04:00
Ben Newman
fdce895bba Make sure env.Path === env.PATH on Windows. 2016-05-16 18:21:09 -04:00
Ben Newman
d060ae9a2d Decompose a helper for cloning process.env for npm-related commands. 2016-05-16 18:21:09 -04:00
Ben Newman
2d2f21f7d5 Use env vars instead of $PATH to select python.exe and MSVS version. 2016-05-16 18:21:08 -04:00
Ben Newman
81756d9833 Make sure python.exe is in $PATH when running npm on Windows. 2016-05-16 18:21:08 -04:00
David Glasser
2b6b02439d destroy universe
"universe" was an old attempt to allow you to run various MDG
servers (Meteor Developer Accounts, the package server, an old version
of the Galaxy deploy server, etc) on localhost and configure the tool to
talk to it not via a bunch of environment variables but via a file
called "universe" at the root of your checkout. Nobody uses this (and
most of the URLs have environment variables for them anyway).  Simplify
the code by removing this entirely.

Also remove some more dead code, and a test that claims it only runs if
you have universe set up.
2016-05-13 15:09:03 -07:00
Ben Newman
b3bcdbafda Disable progress spinner when running headless CI tests. 2016-05-09 18:00:32 -04:00
Wexpo Lyu
52930179aa Fixing #5384 (#6962) 2016-05-04 23:01:43 -07:00
Jesse Rosenberger
454a76191c Allow --port in "test" to allow a bindaddr, same as non-test
The `test` mode wasn't passing the proper proxyHost and proxyPort values to runAll.  This changes the behaviour to work the same as the regular `run` mode and also adds tests for both modes to test the bindaddr (localAddress) is taking effect properly.

Fixes meteor/meteor#6961
2016-05-03 17:35:57 +03:00
Martijn Walraven
49c9d07be8 Always build web.cordova arch when --mobile-server is passed
Closes #6862.
2016-04-28 15:06:56 -07:00
Ben Newman
2dd511ff11 Remove logic for writing package.json files for binary npm packages.
We're going to be using programs/server/setup.sh to run `npm rebuild` in
these packages, which is a much cleaner solution for #6537.
2016-04-07 13:05:50 -04:00
Ben Newman
8248d86fb2 Consolidate exit code logic for meteor npm and meteor node.
Follow-up to #6675.
2016-04-01 12:08:55 -04:00
Ben Newman
a847988be7 Omit lazy resources from unibuild JSON files when not using modules.
Fixes #6618.
Fixes #6484.
2016-03-31 20:09:53 -04:00
Martijn Walraven
88d43a0f16 Only prepare instead of build the Cordova project for iOS
Building the iOS app for release should be done from Xcode anyway, to
correctly code sign and submit to TestFlight or the App Store.

Because building would override `build-extras.xcconfig`, this would
remove a temporary workaround for #6492, which is now correctly applied
on both `meteor run` and `meteor build`.
2016-03-30 13:37:01 +02:00
Wexpo Lyu
d63daaa6a9 A space added. 2016-03-29 13:37:11 +08:00
Wexpo Lyu
8d99779f78 Update the info when on latest recommended. 2016-03-29 13:33:58 +08:00
Ben Newman
2ccb7467c9 Merge branch 'master' into devel 2016-03-28 18:35:58 -04:00
Martijn Walraven
5a1dd20dc6 Replace links to installation Wiki pages with links to the mobile guide 2016-03-24 15:11:23 +01:00
Ben Newman
392d050f2b Make meteor node and meteor npm work on Windows.
Fixes #6531.
2016-03-19 13:06:24 -04:00
Tom Coleman
fe0c65c504 buildMode === "test" for both test and test-packages
I think we hadn't done this for back-compat reasons, however it doesn't make sense as it means that test-drivers and test utilities can't be `testOnly` if they want to be usable for `meteor test-packages`. Which kind of makes it pointless to have `testOnly`.

I don't anticipate it will cause problems, but I'm not entirely sure.
2016-03-14 11:05:07 +11:00
David Glasser
cea4d07e22 docs: Remove references to free hosting service 2016-03-11 15:32:15 -08:00
Tom Coleman
2c617225cd Ensure that runAll always sets NODE_ENV+buildMode sensibly.
Note there are a few use cases I can think of we want to worry about:

`meteor run` -- both should be "development"
`meteor run --production` - both should be "production"
`NODE_ENV=production meteor run` - as above
`NODE_ENV=development meteor run --production` - `--production` should win
`meteor test` - NODE_ENV should be "development", buildMode should be "test"
`NODE_ENV=production meteor test" - NODE_ENV should be "production", buildMode should be "test"
2016-03-11 12:29:36 +11:00
Tom Coleman
a5fb01310c Removed references to --deploy argument of test modes 2016-03-10 15:49:23 +11:00
Tom Coleman
75749bb544 Fix problem with previous commit 2016-03-10 13:44:58 +11:00
Tom Coleman
5e4107b899 Actually test properly that things exist.
For the `meteor test` command when copying build directories into the test app
2016-03-10 12:35:13 +11:00
Tom Coleman
27faeefb31 Pass test metadata in via an environment variable.
[Only works on the server right now, fairly uselessly]

For #6331
2016-03-09 15:30:45 +11:00
Tom Coleman
33e619e3ab Added *.[app-]spec[s].* as valid test file names 2016-03-09 14:34:30 +11:00
Ben Newman
40857bdaff Propagate meteorEnv subset of process.env from server to client.
Fixes #6399.
2016-03-08 19:37:57 -05:00
Sashko Stubailo
9b61e88d06 Merge pull request #6404 from Sarah-Alsinan/patch-5
Update main.js
2016-03-08 15:51:10 -08:00
Sarah A
14675bd6a6 Update commands-packages-query.js
Changes "including un-migrate versions" to "including non-migrated versions"
2016-03-08 15:51:06 -08:00
Martijn Walraven
83474f9a1e Don't build web.cordova when not running on mobile targets
Closes #6417.
2016-03-05 08:44:06 +01:00
Sarah A
b064ca823c Update commands-packages-query.js 2016-03-03 23:50:11 -08:00
Sarah A
2b8b4598c2 Update main.js
Changes "this in especially inefficient" to "this is especially inefficient"
2016-03-03 22:58:52 -08:00
Tom Coleman
6c90662818 Removed examples and added a command to printout their repos.
See #6379
2016-03-03 19:06:51 +11:00
Tom Coleman
058002e7e4 Fix incorrect logic 2016-03-03 14:52:34 +11:00
Tom Coleman
59e3a5c1ff Merge pull request #6338 from meteor/release-1.3-change-test-paths-6321
Changes to testing file matching patterns #6321
2016-02-29 11:18:42 +11:00
Tom Coleman
ab5ab15768 Rename test-app -> test and test --full-app
Our old "unit" test mode didn't really enforce "unit-ness" and was perfectly capable of running integration test. So it was confusing to call the two modes unit and integration test modes.

Instead, we call them "test mode" and "full app test mode", run with `meteor test` and `meteor test --full-app`.

The rules for test files were also simplified -- simply *.test[s].* for test mode, and *.app-test[s].* for full app tests. `tests/` directories are simply ignored again.
2016-02-29 11:16:54 +11:00
Tom Coleman
18f112bfc7 Typo, slightly clearer 2016-02-29 11:04:31 +11:00
Tom Coleman
bd92c15ee2 Add authorized --transfer command for Galaxy 2016-02-26 16:26:29 +11:00
Tom Coleman
121d875a20 Remove code that adds .meteor.com to hostnames in the tool
Instead let the server (both Galaxy and Mother do this) decide on how to postfix the hostname.
2016-02-26 15:53:37 +11:00
Tom Coleman
5b064f15df Allow arbitrary options on meteor deploy
And pass them through to both the /info and /deploy calls.
2016-02-26 15:24:25 +11:00
Tom Coleman
017e32e41a Change the message that we send when try to deploy when not logged in 2016-02-26 15:22:46 +11:00
Zoltan Olah
3e59f7110e Merge branch 'devel' into release-1.3 2016-02-25 14:34:09 -08:00
Martijn Walraven
e129879702 Always try to use auto-detected IP as Cordova ROOT_URL
Fixes part of #5973.
2016-02-25 13:05:18 +01:00
Martijn Walraven
f578edf13b Add --server-only option to meteor build to skip building mobile apps
Closes #6270.
2016-02-25 12:39:51 +01:00
Martijn Walraven
b425d2271f Always warn if building inside the app directory, and fix warning 2016-02-25 12:32:09 +01:00
Avital Oliver
0bbae6a58d meteor test-app now works without ever running meteor run 2016-02-24 10:06:44 -08:00
Tom Coleman
587729c315 Update help.txt
Add a link to driver packages in the help docs
2016-02-24 12:48:02 +11:00
Tom Coleman
a3ae963020 Require that you specify a driver package for app tests
#5784
2016-02-23 16:54:50 +11:00