OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 |
| 3 TEMP_SCRIPT_FILE="/tmp/node-tick-processor-input-script" |
| 4 tools_path=`cd $(dirname "$0");pwd` |
| 5 log_file="v8.log" |
| 6 for arg in "$@" |
| 7 do |
| 8 if ! expr "X${arg}" : "^X-" > /dev/null; then |
| 9 log_file=${arg} |
| 10 fi |
| 11 done |
| 12 |
| 13 cat $tools_path/node-polyfill.js $tools_path/splaytree.js $tools_path/codemap.js
\ |
| 14 $tools_path/csvparser.js $tools_path/consarray.js \ |
| 15 $tools_path/profile.js $tools_path/profile_view.js \ |
| 16 $tools_path/logreader.js $tools_path/tickprocessor.js \ |
| 17 $tools_path/SourceMap.js \ |
| 18 $tools_path/tickprocessor-driver.js >> $TEMP_SCRIPT_FILE |
| 19 |
| 20 # nm spits out 'no symbols found' messages to stderr. |
| 21 node $TEMP_SCRIPT_FILE $log_file 2>/dev/null |
| 22 |
| 23 rm -f $TEMP_SCRIPT_FILE |
OLD | NEW |