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

Side by Side Diff: tools/run_fletch_agent

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments 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/run_dartino_agent ('k') | tools/servicec/lib/src/plugins/dart.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
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
4 # BSD-style license that can be found in the LICENSE.md file.
5
6 set -e
7
8 BUILD_DIR=$(pwd)/out/DebugIA32Clang
9 FLETCH_AGENT_SNAPSHOT=${BUILD_DIR}/fletch-agent.snapshot
10 export FLETCH_VM=${BUILD_DIR}/fletch-vm
11 export AGENT_IP=127.0.0.1
12 export AGENT_PORT=12121
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
15 export VM_LOG_DIR=${BUILD_DIR}/agent/var/log/fletch
16
17 # Create required files.
18 mkdir -p ${VM_LOG_DIR}
19 touch ${AGENT_PID_FILE} ${AGENT_LOG_FILE}
20
21 # Create snapshot
22 ${BUILD_DIR}/fletch quit
23 ${BUILD_DIR}/fletch export pkg/fletch_agent/bin/agent.dart to \
24 $FLETCH_AGENT_SNAPSHOT
25
26 # Run the agent
27 exec ${FLETCH_VM} ${FLETCH_AGENT_SNAPSHOT}
OLDNEW
« no previous file with comments | « tools/run_dartino_agent ('k') | tools/servicec/lib/src/plugins/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698