Commit Graph

21 Commits

Author SHA1 Message Date
Ben Newman
962ed18bb4 Pass --no-wasm-code-gc to node.exe in meteor.bat (Windows). 2019-11-26 14:27:16 -05:00
Ben Newman
1c1020b6b2 Remove the --max-old-space-size option to node.exe in meteor.bat.
If the max size is too large (at least on windows_x86), the process
silently exits without doing anything, which is arguably worse than just
using the default max space (i.e., not passing the option).
2018-04-06 12:25:29 -04:00
Ben Newman
5c1ba3a85e Increase --max-old-space-size to 4096 (MB) to reduce GC churn.
Thanks to a tip from @veered.
2018-03-29 17:41:20 -04:00
Jesse Rosenberger
ab111e7800 Detect dev_bundle download errors and fail appropriately on Windows.
This is in an attempt to resolve a situation which could occur when the
extraction of the dev_bundle.tar fails with an EOF error, but the tool
continues as if the file was fine.  Ultimately the, error preference
set in the PS1 script is only observed in the case of PowerShell
ErrorLevel and not just an error condition encountered in a command.
2017-03-30 16:12:19 +03:00
Jesse Rosenberger
455bf5b6e0 Add TOOL_NODE_FLAGS support for Windows in the same way as Unix. (#8517)
In Unix we support adding `TOOL_NODE_FLAGS` when debugging the Meteor
tool itself, however Windows did not currently support it.  This should
add that support.  As this is a .bat file, I have every reason to
believe that this syntax should work on older versions of Windows as the
syntax of .bat files hasn't changed much.

Helps with meteor/meteor#8513.
2017-03-29 11:25:33 -04:00
Slava Kim
49a7088c30 Create a folder "tool-env"
Contains uninteresting setup and cleanup files
2015-07-31 18:38:25 -07:00
Sashko Stubailo
312663db67 Transpile the Meteor command line tool with Babel
- Uses Ben's meteor-babel npm package that has a default config
- From a checkout, uses the meteor-babel/register module and compiles at runtime
- When meteor-tool is published, precompiles the files
- Adds tests to make sure source maps work everywhere
2015-06-23 14:32:49 -04:00
Slava Kim
f4bb3c8953 meteor.bat should exit with the same exit code as meteor node script 2015-03-23 12:12:02 -07:00
Slava Kim
eb33978b60 Always guard leaking env variables on Windows with SETLOCAL/ENDOCAL
Windows-only
2015-03-09 12:05:02 -07:00
Avital Oliver
9f0f91e851 Correct home dir logic on Windows 2015-03-04 20:54:27 -08:00
Slava Kim
362757b9ba Set METEOR_INSTALLATION when running from checkout on Windows 2015-03-02 17:54:55 -08:00
Avital Oliver
7b531c1ad5 Don't extract dev bundle unless deletion worked
Before this change, if the deletion failed the dev bundle
would get extracted into a subdirectory of METEOR\dev_bundle
rather than into that directory.
2015-02-06 13:47:37 -08:00
Slava Kim
367edfc60e fix the 7z check 2015-02-04 19:15:39 -08:00
Slava Kim
f2dd0e8c35 Add a check for 7zip 2015-02-04 14:53:35 -08:00
Avital Oliver
e92a1c0b3a First self-test on Windows now passes (help) 2015-01-27 17:37:15 -08:00
Sashko Stubailo
bf124419d1 Remove version from powershell 2015-01-20 22:34:25 -08:00
Slava Kim
0f25d9207c Use PS1 script to build installers 2015-01-20 22:34:22 -08:00
Slava Kim
369f2faf49 Check if current dev_bundle matches the dev_bundle required on Windows 2015-01-20 22:08:15 -08:00
Slava Kim
3ca6ea08dd Automatically download the dev bundle if such is not present on Windows 2015-01-20 22:06:58 -08:00
Slava Kim
44ef7680ed Remove quotes on NODE_PATH env var set
apparently it is not correct
2015-01-20 22:03:23 -08:00
Slava Kim
407ad196d0 Add meteor.bat file 2015-01-20 22:03:23 -08:00