DescriptionTwo overflows when many actions are in one target/one script.
1. Commands were previously joined with &&, which resulted in the command line being too long
2. cygwin's setup_env.bat was called for each command. This prepends to PATH, which also grows too long.
To fix #1, join the commands by checking errorlevel at each step. To fix #2, only do the path cygwin setup on the first action.
BUG=gyp:261
Committed: https://code.google.com/p/gyp/source/detail?r=1378
Patch Set 1 #Patch Set 2 : remove some actions to see if upload will accept #Patch Set 3 : failing test with 'input line is too long' #Patch Set 4 : remove some #Patch Set 5 : one one setup_env, and less commands so that it doesn't take forever #Patch Set 6 : remove unneeded file #
Total comments: 8
Patch Set 7 : review fixes #
Total comments: 2
Patch Set 8 : verify outputs are created, non-default arg a bit higher #
Total comments: 1
Messages
Total messages: 10 (0 generated)
|