Commit Graph

199 Commits

Author SHA1 Message Date
Ben Newman
bee3112a63 Try harder to create .meteor/dev_bundle symlink.
May help with #7391.
2016-07-12 11:41:27 -04:00
Ben Newman
586af3482c Merge branch 'devel' into release-1.4 2016-07-10 15:50:03 -04:00
Ben Newman
f8b1bba606 Improve .meteor/dev_bundle link reading and creation. 2016-07-10 15:39:46 -04:00
Ben Newman
1dac34f00c Store .meteor/dev_bundle target as text when symbolic linking fails.
This wouldn't work if .meteor/dev_bundle needed to be a true symbolic
link, but fortunately we just need to record the target path in a way that
allows us to read it later.

Fixes #7374.
2016-07-09 17:15:21 -04:00
Ben Newman
77feb7b76a Decompose readLink and makeLink helper functions.
Part of #7374.
2016-07-09 16:55:14 -04:00
Ben Newman
ac28ac16d9 Fix bug: solutionReleaseName no longer defined. 2016-07-09 16:31:46 -04:00
Ben Newman
c54686126e Merge branch 'devel' into release-1.4 2016-07-09 15:07:52 -04:00
Ben Newman
e2dbb6093e Always call updateMeteorToolSymlink after successful update.
https://github.com/meteor/meteor/pull/7340#issuecomment-231254368
2016-07-08 13:44:04 -04:00
Ben Newman
542891b65d Make meteor {node,npm} respect .meteor/dev_bundle when possible. 2016-07-07 15:24:25 -04:00
Ben Newman
6cd1c472d9 Create a .meteor/dev_bundle symlink when writing .meteor/release.
This will make it easier for `meteor node` and `meteor npm` to find the
right dev_bundle for the current application.
2016-07-07 15:24:24 -04:00
Ben Newman
b23ad6d85f Respect .meteor/release when running meteor {npm,node} from checkout. 2016-07-07 15:24:24 -04:00
Ben Newman
eadb6e65cc Ensure only one Promise constructor is ever used by tools code. 2016-07-07 11:04:18 -04:00
Ben Newman
f812762353 Infer dev_bundle for meteor {npm,node} from .meteor/release.
Fixes #7338.
Fixes #7297.
2016-07-06 21:00:40 -04:00
Ben Newman
9d417303c1 Symlink .meteor/local/plugin-cache in temporary test directory.
Because the cache directories are shared instead of copied, the results
now have a chance of surviving multiple invocations of `meteor test`.

This significantly reduces rebuild times when testing a large app; for
example, the meteor/tools/tests/apps/modules app now takes less than 10
seconds to rebuild (after restarting the process, not after a file change)
instead of 60 seconds or more.
2016-07-06 21:00:38 -04:00
Ben Newman
f38725e0b2 Infer dev_bundle for meteor {npm,node} from .meteor/release.
Fixes #7338.
Fixes #7297.
2016-07-01 20:38:44 -04:00
Tom Coleman
d2d1455f40 Updated meteor create to write package versions 2016-06-29 14:14:09 -04:00
Tom Coleman
63f1311630 First version of release constraint unpinning
For #7004. Still working on the self test but it appears to work :)
2016-06-29 14:14:08 -04:00
Ben Newman
e229c3546c Symlink .meteor/local/plugin-cache in temporary test directory.
Because the cache directories are shared instead of copied, the results
now have a chance of surviving multiple invocations of `meteor test`.

This significantly reduces rebuild times when testing a large app; for
example, the meteor/tools/tests/apps/modules app now takes less than 10
seconds to rebuild (after restarting the process, not after a file change)
instead of 60 seconds or more.
2016-06-28 12:59:50 -04:00
Martijn Walraven
238623ca74 Avoid building Cordova project when no run targets are specified
Fixes #7271.
2016-06-24 15:19:09 +02:00
Tom Freudenberg
4cd91f67fa Fix error on accessing empty releaseRecordForConstraints var
When running meteor from checkout this var is defined to be null.
	Accessing var instance attribute will raise an exception
2016-06-23 02:01:32 +02:00
Jack Ivy
4b584c10ce Allow --headless option for test and test-packages 2016-06-17 13:15:00 -04:00
Jonas Aschenbrenner
d2309542a2 Removes Velocity testing code 2016-06-16 19:13:25 +02:00
Ben Newman
dce2b20ddb Merge pull request #7033 from meteor/release-1.3.3
Release 1.3.3
2016-06-10 18:18:28 -04:00
chemicstry
512799ed9e Initial IPv6 support 2016-06-06 02:17:36 +03:00
Ben Newman
bae5983d59 Merge branch 'devel' into release-1.3.3 2016-05-27 00:02:48 -04:00
Ben Newman
a62d89519d Merge pull request #7125 from meteor/7087-fix-flaky-tests
Fix flaky tests
2016-05-26 14:59:00 -04:00
Wexpo Lyu
9e083c232d Refined the tip. 2016-05-25 12:48:02 +08:00
Tom Coleman
289b330579 Added ability to partition tests by tag 2016-05-24 14:59:12 -07:00
Wexpo Lyu
b80b2b0945 Update commands.js 2016-05-24 20:19:01 +08:00
Wexpo Lyu
5a4ed0f0f0 Warn users when they meteor reset with MONGO_URL. 2016-05-24 12:50:47 +08:00
Ben Newman
13ff76ffd8 Revert "Use an appropriate module object in meteor shell."
This reverts commit 5aee7a9a09.
2016-05-22 13:01:11 -04:00
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