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
Tom Coleman
00dd561188
Merge pull request #6290 from meteor/release-1.3-testing-minutiae
...
Added some help text for meteor test-app
2016-02-23 14:10:50 +11:00
Tom Coleman
30eff7678e
Updates to help text for test-app
...
Based off comments made by avital
2016-02-23 13:07:45 +11:00
Tom Coleman
dd90d2b120
Added some help test for meteor test-app
2016-02-22 14:09:00 +11:00
Tom Coleman
f58a434d2d
Take a test runner as commandline argument
2016-02-22 13:08:23 +11:00
Wexpo Lyu
f5781abb7c
Accurate error in removing a non-direct dependency.
2016-02-19 17:03:54 +08:00
Avital Oliver
af6b9df244
Merge branch 'release-1.3' into app-tests
2016-02-17 21:48:42 -08:00
Avital Oliver
6a37666346
Move test-packages section in CLI code
...
Moving it back to its original location to help with a merge
conflict.
2016-02-17 21:48:05 -08:00
Avital Oliver
08d1e3d81e
Use the published avital:mocha test package by default
2016-02-17 18:00:10 -08:00
Avital Oliver
eadeb72e16
Merge branch 'devel' into release-1.3
2016-02-17 12:15:51 -08:00
Avital Oliver
83922dfc3a
Start support for unit tests.
...
You can now run `meteor test-app --unit` to load just test files
and their dependencies.
Also, `Meteor.isIntegrationTest` and `Meteor.isUnitTest` are now
available on the client side of your apps. This can be used to
only run some tests in either mode.
TODO: Find unit tests inside imports/ directories even if they're
not explicitly imported.
2016-02-16 09:32:05 -08:00
Avital Oliver
4592c74a60
Now both test-app and test-packages work
2016-02-16 08:27:00 -08:00