Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: tools/run_fletch_agent

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/raspberry-pi2/raspbian_prepare.py ('k') | tools/run_with_cwd.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 2 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE.md file. 4 # BSD-style license that can be found in the LICENSE.md file.
5 5
6 set -e 6 set -e
7 7
8 BUILD_DIR=$(pwd)/out/DebugIA32Clang 8 BUILD_DIR=$(pwd)/out/DebugIA32Clang
9 FLETCH_AGENT_SNAPSHOT=${BUILD_DIR}/fletch-agent.snapshot 9 FLETCH_AGENT_SNAPSHOT=${BUILD_DIR}/fletch-agent.snapshot
10 export FLETCH_VM=${BUILD_DIR}/fletch-vm 10 export FLETCH_VM=${BUILD_DIR}/fletch-vm
11 export AGENT_IP=127.0.0.1 11 export AGENT_IP=127.0.0.1
12 export AGENT_PORT=12121 12 export AGENT_PORT=12121
13 export AGENT_PID_FILE=${BUILD_DIR}/agent/var/run/fletch-agent.pid 13 export AGENT_PID_FILE=${BUILD_DIR}/agent/var/run/fletch-agent.pid
14 export AGENT_LOG_FILE=${BUILD_DIR}/agent/var/log/fletch-agent.log 14 export AGENT_LOG_FILE=${BUILD_DIR}/agent/var/log/fletch-agent.log
15 export VM_LOG_DIR=${BUILD_DIR}/agent/var/log/fletch 15 export VM_LOG_DIR=${BUILD_DIR}/agent/var/log/fletch
16 16
17 # Create required files. 17 # Create required files.
18 mkdir -p ${VM_LOG_DIR} 18 mkdir -p ${VM_LOG_DIR}
19 touch ${AGENT_PID_FILE} ${AGENT_LOG_FILE} 19 touch ${AGENT_PID_FILE} ${AGENT_LOG_FILE}
20 20
21 # Create snapshot 21 # Create snapshot
22 ${BUILD_DIR}/fletch quit 22 ${BUILD_DIR}/fletch quit
23 ${BUILD_DIR}/fletch export pkg/fletch_agent/bin/agent.dart to \ 23 ${BUILD_DIR}/fletch export pkg/fletch_agent/bin/agent.dart to \
24 $FLETCH_AGENT_SNAPSHOT 24 $FLETCH_AGENT_SNAPSHOT
25 25
26 # Run the agent 26 # Run the agent
27 exec ${FLETCH_VM} ${FLETCH_AGENT_SNAPSHOT} 27 exec ${FLETCH_VM} ${FLETCH_AGENT_SNAPSHOT}
OLDNEW
« no previous file with comments | « tools/raspberry-pi2/raspbian_prepare.py ('k') | tools/run_with_cwd.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698