Avital Oliver
4265cf8c44
Simplify Windows Meteor install path detection
2015-02-27 16:29:24 -08:00
Slava Kim
ec9afe2c64
Don't set quotes in METEOR_INSTALLATION variable
2015-02-25 16:35:19 -08:00
Slava Kim
bf63b6dbf8
Allow meteor.bat script to set its own installation location
2015-02-25 16:15:29 -08:00
David Glasser
5d17598584
Update pathwatcher, which took our PR
...
Our PR landed in 4.1.0, so we no longer need a fork.
Hopefully, the runas-related bug which causes dev bundle builds to
sometimes fail (which is why we moved the install to its own step) is
fixed with the newer version of runas used by pathwatcher now.
Note that we were previous using a fork with an early version of our PR,
which put the numeric errno on 'code'. The accepted version of the PR
puts the numeric errno on 'errno' (and in Node 0.12, puts a string on
'code').
2015-02-16 14:34:54 -08:00
Slava Kim
19a8078cd6
Finish the _getLocationFromScriptLinkToMeteorScript
2015-02-10 12:26:34 -08:00
Sashko Stubailo
18692b672d
Special cases for files.getHomeDir on win32
...
Fixes https://github.com/meteor/windows-preview/issues/38
2015-02-09 11:33:32 -08:00
Sashko Stubailo
0ba325d1ca
Guard against undefined options
2015-02-06 13:40:33 -08:00
Slava Kim
4eb73b3984
Fix requires to profile.js since we replaced the wrapper with tiny-profile.js
2015-02-05 16:40:14 -08:00
Slava Kim
25e69e8492
Always use convertToPosixPath because the function can be ran on any platform
2015-02-05 14:05:17 -08:00
Slava Kim
adc5e40fb7
Extract the meteorLinkScript parsing logic to separate testable functions
2015-02-05 14:05:17 -08:00
Slava Kim
23c684ae5d
put files.linkToMeteorScript and files.readLinkToMeteorScript close to each
...
other
2015-02-05 11:38:10 -08:00
Avital Oliver
c614ebd107
Fix selftests in Windows with fake warehouses
...
There were two issues:
1. The meteor.bat file we used to simulate symlinks in Windows didn't
correctly deal with absolute paths
2. The way we overrided DEFAULT_TRACK in Windows led to some other piece
of code not doing the right thing, presumably because it compared
a track to DEFAULT_TRACK which wasn't overridden in Windows.
2015-02-04 20:25:27 -08:00
Slava Kim
75f344e6a1
Add profiling for files.rm_recursive
2015-02-04 18:49:20 -08:00
Sashko Stubailo
a75cae93ed
Merge branch 'devel' into windows-r
...
Conflicts:
packages/package-version-parser/package.js
tools/bundler.js
tools/server/boot.js
2015-02-04 15:50:31 -08:00
Sashko Stubailo
868ce3594e
Don't let getPathsInDir yield to avoid race conditions
2015-02-04 14:33:17 -08:00
Sashko Stubailo
77d266ad61
Improve pathsInDir with Glasser's suggestions
2015-02-04 13:29:00 -08:00
Slava Kim
ffdb98b8f6
Add a lot of profiler frames
2015-02-02 18:06:58 -08:00
Sashko Stubailo
cbe5db4282
Improve comment and add convertToWindowsPath in Meteor tool link
2015-02-02 13:23:27 -08:00
Avital Oliver
d69442177a
Fix function rename that got missed previous
2015-02-02 11:40:48 -08:00
Slava Kim
d7a8f44da9
Merge branch 'windows-cr' into windows-r
...
Fixes by @stubailo for the general code-review
2015-02-02 10:21:26 -08:00
Sashko Stubailo
472cef6a64
Move part of files into mini-files.js
2015-01-30 15:44:51 -08:00
Slava Kim
a81816298a
Parse the meteor-script-link on Windows
...
The meteor.bat script located at C:\users\user\appdata\local\.meteor\meteor.bat
on Windows acts as a replacement for ~/.meteor/meteor on unix.
Instead of reading the symlink, attempt to parse the path from the script
comment
2015-01-30 15:39:51 -08:00
Sashko Stubailo
94721e818f
Remove path length exception for now until it comes back
2015-01-30 12:00:32 -08:00
Sashko Stubailo
54f1a9a770
Check for file existing before stat
2015-01-30 11:59:13 -08:00
Sashko Stubailo
863aea7bcf
Convert to os path on process.chdir
2015-01-30 11:59:04 -08:00
Sashko Stubailo
8c906954d3
Don't convert line endings on write
2015-01-30 11:11:47 -08:00
Sashko Stubailo
255739d5ab
Revert "Use readFile for hashing instead of stream"
...
This reverts commit f947457edf .
Conflicts:
tools/files.js
2015-01-30 11:00:04 -08:00
Sashko Stubailo
a7fb7b93a6
Remove rimraf from the source tree
2015-01-29 14:33:01 -08:00
Sashko Stubailo
4b1f257e37
Don't shell out for find
2015-01-29 14:09:19 -08:00
Sashko Stubailo
a03421095b
Change comment to // comment
2015-01-27 16:37:05 -08:00
Sashko Stubailo
25352fc281
Remove extra comment
2015-01-27 16:26:31 -08:00
Sashko Stubailo
b18e6087a5
Rename notAbsolute to partialPath
2015-01-27 16:26:18 -08:00
Sashko Stubailo
50fd3cef5f
Add comment about no symlinks on windows
2015-01-27 16:26:03 -08:00
Sashko Stubailo
a5f5932db2
Convert path, not line endings on CWD
2015-01-27 16:25:46 -08:00
Slava Kim
07fa40f20e
Fix "surprising path" error for paths like "K:"
2015-01-27 11:35:04 -08:00
Sashko Stubailo
0a76b65386
write a meteor.bat that works when there are spaces
2015-01-22 13:42:42 -08:00
Sashko Stubailo
0271352615
Use filter in fstream, but not type: "Directory"
2015-01-21 21:24:40 -08:00
Slava Kim
8d2d031cbc
Fix typo
2015-01-21 15:07:24 -08:00
Slava Kim
e91bd2e49c
Apparently some code in packages rely on the exact capitalization of files on filesystem
2015-01-21 14:04:10 -08:00
Slava Kim
d3c13104b6
Build bootstrap tarballs for Windows in Windows way
2015-01-21 14:04:09 -08:00
Sashko Stubailo
363ad4e5b1
Write longer comment with explanation of files strategy
2015-01-21 14:04:09 -08:00
Sashko Stubailo
a7eeda6be3
Rename metadata-colon-converter and remove adaptLegacyPath
2015-01-21 14:04:09 -08:00
Sashko Stubailo
c28d4a9c42
exen -> even
2015-01-21 14:04:09 -08:00
Sashko Stubailo
6422b91fea
Replace pathSep with /
2015-01-21 14:04:09 -08:00
Sashko Stubailo
5b5616d504
Add .js to import
2015-01-21 14:04:09 -08:00
Slava Kim
6addf070b2
Fix slashes
2015-01-21 14:04:08 -08:00
Slava Kim
36ef2e2e1b
Fixes for typos
2015-01-21 14:04:08 -08:00
Slava Kim
2ca995870b
Depending on requested arch link to meteor script differently
2015-01-21 14:04:08 -08:00
Slava Kim
0dfecf2f37
meteor create --packages never creates files w colons
2015-01-21 13:56:53 -08:00
Sashko Stubailo
5c2eb0761b
Fix test by including JS image
2015-01-20 22:34:24 -08:00