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

Side by Side Diff: samples/pond/build_pond.sh

Issue 10204007: Remove many things that depend on frog. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « samples/dartboard/dartboard.html ('k') | samples/pond/compiler.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 #
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file.
6 #
7
8 function frog_build {
9 local infile=$1;
10 local outfile="$infile.js";
11 local backup=".$file.old";
12 [ -f $outfile ] && cp $outfile $backup;
13 ../../frog/minfrog --out=$outfile --compile-only $infile
14 if [ -f $backup ]; then
15 if `diff $outfile $backup -q > /dev/null`; then
16 echo " - $outfile remains unchanged ";
17 else
18 echo " - $outfile was updated ";
19 fi;
20 rm $backup;
21 fi
22 }
23
24 # Rebuild pond and the compiler isolate using minfrog
25 frog_build pond.dart
26 frog_build compiler.dart
27
28 # Build the editors module
29 cat codemirror/lib/codemirror.js \
30 codemirror/mode/dart/dart.js \
31 codemirror/mode/htmlmixed/htmlmixed.js \
32 codemirror/mode/xml/xml.js \
33 codemirror/mode/javascript/javascript.js \
34 codemirror/mode/css/css.js \
35 codemirror/mode/diff/diff.js \
36 editors.js > editors_module.js
OLDNEW
« no previous file with comments | « samples/dartboard/dartboard.html ('k') | samples/pond/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698