Martijn Walraven
74b5f7bcea
Move cordova-lib and ios-sim from dev bundle to package
2015-08-26 19:26:47 +02:00
Martijn Walraven
185e04c9a7
Move tools/cordova/commands.js to tools/cli/commands-cordova.js
2015-08-26 19:26:47 +02:00
Martijn Walraven
0eecd4adb4
Convert to OS paths when calling Cordova commands
2015-08-26 19:26:47 +02:00
Martijn Walraven
375eab322c
Use spread operator when passing paths array
2015-08-26 19:26:46 +02:00
Martijn Walraven
212c0ceb06
Use setEnv on patched superspawn to pass env to cordova-lib
2015-08-26 19:26:46 +02:00
Martijn Walraven
e0e4dc7ee2
Fix env method in CordovaProject
2015-08-26 19:26:46 +02:00
Martijn Walraven
1ce8efd913
Add env to other Cordova calls as well
2015-08-26 19:26:46 +02:00
Martijn Walraven
3a33b07b76
Add node path and extra paths to env for build and run calls
2015-08-26 19:26:46 +02:00
Martijn Walraven
10a2741f76
Remove notOnWindows option from Cordova commands
2015-08-26 19:26:46 +02:00
Martijn Walraven
94973d22b1
Pass env to Cordova instead of changing process.env
2015-08-26 19:26:46 +02:00
Martijn Walraven
9d006c255d
Don't set android:debuggable in manifest, leaving it to Gradle
2015-08-26 19:26:46 +02:00
Martijn Walraven
bcc3f10782
Fix mobileServerUrlString construction
2015-08-26 19:26:46 +02:00
Martijn Walraven
5556c85b81
Make Cordova tests pass by not expecting Android SDK prompt
2015-08-26 19:26:45 +02:00
Martijn Walraven
47ff9a13aa
Clean up Cordova code in commands.js
...
- Refactor server options parsing, move it from utils.js to commands.js
- Move remote device warning to CordovaRunner
2015-08-26 19:26:45 +02:00
Martijn Walraven
92bf32b6aa
Don't access displayName before subclasses have been initialized
2015-08-26 19:26:45 +02:00
Martijn Walraven
64de50afc7
I blame the cat for this
2015-08-26 19:26:45 +02:00
Martijn Walraven
1d6139427b
Check Cordova platforms before building for run
2015-08-26 19:26:45 +02:00
Martijn Walraven
c74ec33c7d
Change bundler import
2015-08-26 19:26:45 +02:00
Martijn Walraven
7d34b1296b
Split up and sanitize cordova-commands.js, use cordova-lib
2015-08-26 19:26:45 +02:00
Martijn Walraven
a667cbcf3a
Remove Cordova scripts
2015-08-26 19:26:45 +02:00
Martijn Walraven
f768cc7a3b
Move Cordova assets and client files to tools/cordova directory
2015-08-26 19:26:44 +02:00
Martijn Walraven
e164fd969c
Install ios-sim from NPM instead of building it ourselves
2015-08-26 19:26:44 +02:00
Sashko Stubailo
927745a5d5
Print link to meteor.com/learn when a new app is created
2015-08-25 15:54:54 -07:00
alanning
7cee638d4f
Support creating new meteor app in current directory
2015-08-25 15:01:58 -07:00
Anubhav Jain
9fd0195f83
Adding environment variable to simplify enabling tool debugging. Updated docs to reflect change
2015-08-20 12:12:25 -07:00
Ben Newman
0674fc0714
Call plugin.setDiskCacheDirectory with OS-appropriate path.
...
Fixes #4990 .
2015-08-19 12:37:41 -04:00
David Glasser
f02cc00b5d
Write node version to built bundles
...
Since server/.bundle_version.txt is mostly used to determine the node
version, writing it more directly can help too.
(Arguably this should be MIN_NODE_VERSION rather than process.version
but that value is not easily accessed.)
2015-08-14 19:15:09 -07:00
Ben Newman
5a880a00bb
If Package.ecmascript is installed, use it to compile shell commands.
2015-08-13 20:01:01 -04:00
Ben Newman
0cd38690e9
Use a Promise to run shell commands using recycled Fibers.
2015-08-13 20:01:01 -04:00
Ben Newman
6979fab28a
Configure meteor-babel with a source map root path.
...
This ensures paths embedded in source maps for meteor/tools/ files don't
include directories outside the meteor directory, which makes navigating
the directory tree in node-inspector considerably easier.
2015-08-13 20:01:01 -04:00
David Greenspan
92b3d3b1c4
Fix standard-minifiers-package upgrader
...
`projectConstraintsFile.addConstraints(['foo'])` is wrong because 'foo'
is supposed to be a constraint object, not a string. However, it would
quietly add a blank line to .meteor/packages! Now we detect this
mistake, and we also provide addPackages(['foo']).
2015-08-13 14:08:47 -07:00
David Glasser
4c20f0d296
Fix failure to write legacy isopack-1 on download
...
When we download a package that's only isopack-1, we're supposed to
write it as a "fat" isopack-1/isopack-2 package, by using the same
includePreCompilerPluginIsopackVersions flag used for publishing
packages. However, the internal representation of the "prelink" resource
contained in legacy packages didn't have a flag set that is later used
to see if includePreCompilerPluginIsopackVersions is allowed to be
effective. This meant that we'd download packages published as
isopack-1-only and save them as isopack-2-only. And then old meteor
releases would fail to use them.
Fixes #4923 .
2015-08-12 23:27:42 -07:00
Anubhav Jain
553cdcfec7
Update debugging section of tools README
2015-08-12 17:36:39 -07:00
David Glasser
153f18b462
no more minifiers isopacket!
2015-08-11 20:51:15 -07:00
David Glasser
2120669f46
Remove XXX comment
2015-08-11 19:33:06 -07:00
David Glasser
729ad9013e
Style tweaks
2015-08-11 15:30:19 -07:00
SEKE
6fa16329fc
Throw a non-empty error when getUrl gets an empty response body
2015-08-11 15:28:18 -07:00
Sashko Stubailo
863be787ab
Fix buildmessage concatenating stack traces
2015-08-10 20:08:52 -07:00
Anubhav Jain
c05f0aca56
Revert "Add checks to see if frame exists before trying to access the func property"
...
This reverts commit bd6a0c0080 .
2015-08-10 19:55:52 -07:00
Slava Kim
c9334d3aaa
Fix bad refactoring of getHost()
2015-08-10 15:25:37 -07:00
Anubhav Jain
bd6a0c0080
Add checks to see if frame exists before trying to access the func property
2015-08-10 15:22:59 -07:00
David Greenspan
f00532cab1
Make code clearer
...
This is a behavior-preserving change
2015-08-10 15:11:11 -07:00
Sashko Stubailo
e8bb6f400d
Fix parse-stack tests
2015-08-10 15:01:18 -07:00
Slava Kim
303052be68
Update README.md
2015-08-10 14:40:43 -07:00
Slava Kim
23bf568fb7
mention readme in tool-testing
2015-08-10 12:20:11 -07:00
Slava Kim
da89c524e4
point to more readmes in subdirs
2015-08-10 12:17:10 -07:00
Sashko Stubailo
23b65c85e0
Fix parseStack usage
2015-08-10 12:05:53 -07:00
Slava Kim
a2590ead6a
mention run-log in runners' readme
2015-08-10 12:01:21 -07:00
David Greenspan
449dbbb108
copy-editing of tool README
2015-08-10 11:42:35 -07:00
Slava Kim
1c3decb93a
Add an example to cli/readme
2015-08-10 11:24:23 -07:00